Skip to content

Commit

Permalink
Add exit code documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
en-milie committed Nov 14, 2023
1 parent 37d6f49 commit 21f064d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/getting-started/exit-codes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
sidebar_position: 14
description: Exit Codes
---

# Exit Codes
CATS has the following exit codes:
- `191` when for invalid input
- `192` when something unexpected happens during execution
- `number_of_errors` number of errors found while fuzzing

:::info
There might be cases when `191`, `192` might overlap with the actual number of errors reported by CATS.
These are probably very rare cases. You can use the `cat cats-report/cats-summary-report.json | jq .errors` to differentiate if needed.
:::

0 comments on commit 21f064d

Please sign in to comment.