Skip to main content

Module errors

Module errors 

Source
Expand description

Error framework — typed errors with codes, severity levels, and user-facing solutions.

TrexError is the primary error type, carrying a code (e.g. TRX-F01), a severity ErrorLevel, a human-readable message, and a suggested solution. Factory methods like file_not_found and network_failure provide convenient construction.

Structs§

TrexError
A typed error with a unique code, severity level, message, and suggested solution.

Enums§

ErrorLevel
Severity level for an error or log message.