Exit Codes¶
RAPS CLI uses standardized exit codes to help you write robust automation scripts.
| Code | Name | Description |
|---|---|---|
0 |
Success | The command completed successfully. |
2 |
Invalid Arguments | Command line usage error (e.g., missing flag, invalid value) or validation failure. |
3 |
Authentication Failure | The command requires authentication, but the session is invalid, expired, or missing permissions. Run raps auth login. |
4 |
Not Found | The requested resource (bucket, object, hub, etc.) could not be found. |
5 |
Remote/API Error | A network error or 5xx server error occurred. These may be transient; retry strategies are recommended. |
6 |
Internal Error | An unexpected internal error occurred within the CLI. |