Expand description
Crate-level error type and exit-code mapping.
RkError aggregates errors from every layer via #[from], and
RkError::exit_code maps each variant to its process exit code. No
other module decides exit codes. Exit 1 stays 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. Beside the code, every failure
carries a Reason from the closed vocabulary in crate::diagnostic:
the code is the category, the reason the instance.
Enums§
- RkError
- Every failure the binary can exit with.