Exit codes
Copy page
This page lists the exit codes of the sluice binary. A script or a CI job can branch on them.
| Code | Meaning |
|---|---|
| 0 | Success. With –wait: the execution ended SUCCESS. |
| 1 | An API or network error. sluice validate: at least one file is invalid. |
| 2 | A usage or configuration error, for example a missing SLUICE_URL or SLUICE_TOKEN. |
| 10 | With –wait: the execution ended FAILED. |
| 11 | With –wait: the execution ended TIMED_OUT. |
| 12 | With –wait: the execution ended CANCELLED. |
| 13 | With –wait: the execution ended SKIPPED, for example by a concurrency limit with behavior skip. |
| 14 | With –wait: –timeout ended the wait. The execution continues. |
--wait is a flag of sluice run, sluice executions rerun and sluice executions restart.