automaton-build.os.exit-codes
Constants to have clear and consistent return codes for the application
cannot-execute
126: Command invoked cannot execute
catch-all
1: Catchall for general errors
command-not-found
127: Command not found
exist-status-out-of-range
255\ Exit status out of range
exit
(exit status)
fatal-error-signal
(fatal-error-signal signal)
128+n: Fatal error signal ānā
intentional
131 - Intentional error
invalid-argument
128: Invalid argument to exit
invalid-state
3: State is not consistent with the command
misuse
2: Misuse of shell built-ins (according to Bash documentation)
ok
rules-broken
132 - A rules is broken, execution is stopped
script-terminated
130 Script terminated by Control-C