Skip to main content

Module error

Module error 

Source
Expand description

Crate-wide error type and exit-code mapping. Crate-wide error type and its mapping to stable codes and exit statuses.

Structs§

ExitCodeDoc
One documented exit code in the agent-facing contract.

Enums§

FezError
Every error fez can surface to the caller.

Constants§

EXIT_CODES
The agent-facing exit-code contract. fez guide renders this; a test asserts every fatal code exit_code() can produce appears here. The exit_code() match below stays the compile-time-exhaustive source for per-variant mapping.

Functions§

is_service_unknown
Whether a D-Bus error name indicates the service is not activatable (the signal that a required daemon like dnf5daemon is not installed/running).

Type Aliases§

Result
Convenience alias for results carrying a FezError.