Skip to main content

Module diagnostic

Module diagnostic 

Source
Expand description

Diagnostics — errors, exit codes, and logging setup. See ADR-0012.

Diagnostic is the library-level error type. Each variant carries a stable kind mapped via exit_category() to one of the four ExitCategory values that the binary turns into a process exit code.

Enums§

Diagnostic
Library error type. Stable enum variants per ADR-0012.
ExitCategory
Process exit categories. See the table in ADR-0012.

Functions§

init_tracing
Initialise the global tracing subscriber.