Add IO errors to exit code documentation (#1589)
Some checks failed
CI / python package (push) Has been cancelled
CI / pre-commit (push) Has been cancelled
CI / Check generated files unedited (push) Has been cancelled
CI / mkdocs (push) Has been cancelled

This commit is contained in:
Micha Reiser 2025-11-19 10:03:14 +01:00 committed by GitHub
parent 26d7b68649
commit 72ed4e7ec7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ The ty command line interface uses the following exit codes:
| :-------- | :------------------------------------------------------- |
| `0` | no violations with severity `error` or higher were found |
| `1` | violations with severity `error` or higher were found |
| `2` | invalid CLI options |
| `2` | invalid CLI options, invalid configuration, or IO errors |
| `101` | internal error |
ty supports two command line arguments that change how exit codes work: