Skip to main content

Module exit

Module exit 

Source
Expand description

BSD sysexits-aligned exit-code constants used by every workspace binary.

The full table is captured in docs/specs/cli-output-contract-v1.md.

Constants§

DATA
EX_DATAERR — input data is malformed or otherwise invalid.
RUNTIME
Generic runtime error (the historic catch-all for “something went wrong at runtime”).
SOFTWARE
EX_SOFTWARE — internal software error (an invariant was violated).
SUCCESS
Successful termination.
UNAVAILABLE
EX_UNAVAILABLE — a required service or resource is unavailable.
USAGE
EX_USAGE — command-line syntax error.