Command End Status
These end codes shown below, the data range from 0 to 255, are sent as the result of the execution after each command execution.
exit code | name | description |
---|---|---|
0 | EXIT_SUCCESS | successful |
1 | EXIT_FAILURE | failure (general) |
21 | EXIT_NOTICE | exit with notice |
40 | EXIT_PENDING | pending (reserved) |
50 | EXIT_WARN | warning (reserved) |
71 | EXIT_ERROR_CONNECT_FAILED | connectiion failure |
72 | EXIT_ERROR_AUTH_FAILED | authentication failure |
73 | EXIT_ERROR_CONNECTION_FAILURE | connection failure |
79 | EXIT_ERROR_NEG_FAILED | negotiation failure |
81 | EXIT_ERROR_IO_FAILURE | apprication I/O failure (because of the problems of disk or file access) |
90 | EXIT_ERROR_APP_FAILURE | application processing failure |
91 | EXIT_ERROR_APP_SETUP_FAILED | application startup failure |
99 | EXIT_ERROR_APP_ABORTED | application aborted |
181 | EXIT_ERROR_LOAD_ARG | command argument error |
182 | EXIT_ERROR_LOAD_CONF | command configuration error |
189 | EXIT_ERROR_CLI_SETUP_FAILED | CLI startup error |
191 | EXIT_ERROR_SERVICE_SETUP_FAILED | service startup error |
200 | EXIT_FATAL | fatal error (general) |
201 | EXIT_FATAL_RUNTIME_SETUP_FAILURE | fatal environment startup error |
202 | EXIT_FATAL_MUTEX_SETUP_FAILURE | fatal program synchronization error |