Expand description
Conventional exit codes. Small, memorable, and stable across every CLI so scripts can rely on them.
Constants§
- CANCELLED
- The operation was cancelled or not confirmed.
- FAILURE
- A generic, unclassified failure.
- NOT_
FOUND - A requested file or resource was not found.
- OK
- Everything succeeded.
- PERMISSION
- Permission denied / not running as root when required.
- USAGE
- The user invoked the tool incorrectly (bad flag, missing arg, etc.).