Skip to main content

Module error

Module error 

Source
Expand description

Crate-level error type and exit-code mapping.

AppError aggregates errors from every layer via #[from], and AppError::exit_code maps each variant to its process exit code. No other module decides exit codes. Exit 1 is reserved for one meaning — a check ran and found violations — while the BSD sysexits range covers the tool failing to do its job at all.

Enums§

AppError
Every failure the binary can exit with.