Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exit codes

The following exit codes are used by attempt to indicate whether it failed and how. Scripts should use these exit codes and not the log messages exposed by --verbose; these exit codes will remain stable, but no such guarantee is made for the log messages.

Code numberDescription
0Command was run successfully within the allowed number of retries.
1I/O error (eg, command not found). An error message will be printed.
2Invalid arguments. An error message will be printed.
3The number of retries has been exhausted without the command ever succeeding.
4The number of retries has not been exhausted, but the command is no longer retryable because of a "stop" predicate.
101attempt has crashed. The most likely cause is using output predicates on data which is not UTF-8 encoded.