Skip to main content

Module error

Module error 

Source

Structs§

AppError
ErrorContract
Single source of truth for every public error code, its exit code, and the description published in blotter schema.

Constants§

ERROR_CONTRACT
EXIT_65_DESCRIPTION
The published description for exit 65. Three codes map to it, so the string is authored to name all three rather than left to whichever ERROR_CONTRACT entry exit_code_map happens to insert last (r48). Every 65 entry carries it, so the map cannot drift with the table’s order.

Functions§

error_codes
exit_code_for
exit_code_map
unsupported_log_version_message
The refusal text, shared by the error envelope and doctor’s unsupported_version finding so the two cannot drift. It names the offending line and what was found there, never the path.

Type Aliases§

AppResult