Skip to main content

Module error

Module error 

Source
Expand description

Fault taxonomy and stable exit codes (ADR-0009).

Errors are categorized by who is at fault: the user’s input (CoreError::User), the system under test (CoreError::TestFailure), or the environment / proef itself (CoreError::System). The mapping to process exit codes is total and a public contract, pinned by the CLI integration test suite.

Engines report through the separate EngineError layer — engines cannot know exit codes, and the core cannot know engine internals; EngineErrorClass folds into the core taxonomy at the seam.

Structs§

EngineError
An error reported by an engine across the seam (ADR-0002 / ADR-0009).

Enums§

CoreError
Core error taxonomy, categorized by fault (ADR-0009).
EngineErrorClass
How an engine failure folds into the core taxonomy (ADR-0009).
ExitCode
Process exit codes — a public contract (0 ok · 1 test failure · 2 user error · 3 system error), pinned by assert_cmd integration tests.