-
-
Notifications
You must be signed in to change notification settings - Fork 12
Return Values
Aaron Blasko edited this page Nov 16, 2025
·
1 revision
The following table shows the return codes you might get after running the program or as error codes when running albafetch --debug:
| Return Code | Meaning |
|---|---|
| 0 | Correct execution |
| 1 | User error |
| 2 | Generic error |
| 3 | Unsupported OS |
| 4 | Couldn't get the info |
| 5 | Couldn't parse a file |
| 6 | A file was not found |
| 7 | Not enough memory |
These codes should be thought of as equivalence classes (mod 16). For example, an error code of 37 is is equivalent to 5 and still refers to a parsing error. This just helps me find the culprit of the issue faster.