Exit Codes
When the bot exists, it finishes with a certain exit code. This is useful for developers that integrate Eryx in to their own software.
Anything above EXIT_CODE_OK (0), is considered an error.
Reason | Code |
---|---|
EXIT_CODE_OK | 0 |
EXIT_CODE_INTERNAL | 1 |
EXIT_CODE_CONFIG | 2 |
EXIT_CODE_NETWORK | 3 |
EXIT_CODE_USER_ERROR | 4 |
EXIT_CODE_NODE | 5 |