Skip to main content

Module error

Module error 

Source
Expand description

Layer: Cross-cutting

Error type alias plus the exit-code taxonomy: a small, stable set of process exit codes so an unattended scheduler can branch on the failure class instead of grepping stderr. Before this, main exited 1 for every error, forcing operators to regex the error text to decide retry-vs-stop.

Structs§

DataIntegrityError
Typed marker for a data-integrity failure (exit 3).
PreclassifiedExit
Typed marker carrying an already-decided process exit code.
SchemaDriftError
Typed marker for a schema-drift failure (exit 4).

Enums§

ExitClass
Machine-actionable exit-code taxonomy.

Functions§

classify_exit
Map an error to its process exit code per the ExitClass taxonomy.

Type Aliases§

Result