| Code | Name | Meaning |
|---|---|---|
| 0 | ok | Success. |
| 1 | unexpected | An unexpected error: the message says what failed. |
| 2 | usage | A usage error: a command, flag or argument the tool does not take. |
| 3 | invalidProject | The project file, or a file it points to, is missing or not valid. |
| 4 | notSignedIn | Not signed in, or the credentials were refused. |
| 5 | unreachable | The service could not be reached. |
| 6 | provider | A model provider’s key is missing or was refused, or the provider is unavailable. |
| 7 | containment | Enforced containment was required and is not available on this machine. |
| 8 | verification | A verification failed: a checksum, a hash chain or a signature. |
| 9 | syncConflict | A file changed on both sides of a sync. |
| 10 | notInvited | The account has no invitation yet. |
| 11 | planLimit | The plan does not include this, or a count limit was reached. |
| 12 | allowance | No laps are left in the period, or the cap was reached, before the run could start. |
| 13 | examRule | An exam rule refused the action. |
| 14 | redactionBlocks | Redaction blocks the upload: the report is missing, or it has findings left. |
| 20 | gateRegression | The gate found a regression. |
| 21 | gateInconclusive | The gate could not decide: the evidence is not enough either way. |
| 22 | stoppedByAllowance | The run or gate was stopped partway by the allowance or the cap. |
| 30 | failingLaps | The run finished with failing laps (only with --fail-on-fail). |
| 130 | interrupted | Interrupted (Ctrl-C). |
Reference
Exit codes
What each exit code of proving means. Scripts and CI can rely on these numbers: they never change.
Each code links to its troubleshooting page, with what usually causes it and how to fix it.