1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

docs: exit code zero is not an error (#1811)

This commit is contained in:
Samuel Marks
2024-09-18 20:16:59 -05:00
committed by GitHub
parent 08a2a91180
commit 0be05795b9
2 changed files with 6 additions and 4 deletions

View File

@@ -53,9 +53,10 @@ If `--` is given, all remaining arguments will be assigned to a special
## Exit Codes
Task will sometimes exit with specific exit codes. These codes are split into
three groups with the following ranges:
four groups with the following ranges:
- General errors (0-99)
- Success (0)
- General errors (1-99)
- Taskfile errors (100-199)
- Task errors (200-299)

View File

@@ -53,9 +53,10 @@ If `--` is given, all remaining arguments will be assigned to a special
## Exit Codes
Task will sometimes exit with specific exit codes. These codes are split into
three groups with the following ranges:
four groups with the following ranges:
- General errors (0-99)
- Success (0)
- General errors (1-99)
- Taskfile errors (100-199)
- Task errors (200-299)