Skip to main content

Module exit_code

Module exit_code 

Source
Expand description

Stable exit-code classes for the operator CLI.

Sourced from dev/interfaces/cli.md § Exit-code classes; meanings remain load-bearing across recover + doctor outcomes.

Constants§

DOCTOR_FOUND_ISSUES
Doctor / verification surface found actionable non-clean state.
EXPORT_FAILURE
Export / materialization failure on an artifact-producing doctor verb.
LOCK_HELD
Lock-held or equivalent precondition-blocked outcome.
OK
Successful completion with no findings that require a non-zero exit.
RECOVERY_ACCEPTED_LOSS
recover completed only because lossy action was explicitly accepted.
UNRECOVERABLE
Unrecoverable command failure.