|
67 | 67 | | http://tldp.org/LDP/abs/html/exitcodes.html
|
68 | 68 | |
|
69 | 69 | */
|
70 |
| -defined('EXIT_SUCCESS') || define('EXIT_SUCCESS', 0); // no errors |
71 |
| -defined('EXIT_ERROR') || define('EXIT_ERROR', 1); // generic error |
72 |
| -defined('EXIT_CONFIG') || define('EXIT_CONFIG', 3); // configuration error |
73 |
| -defined('EXIT_UNKNOWN_FILE') || define('EXIT_UNKNOWN_FILE', 4); // file not found |
74 |
| -defined('EXIT_UNKNOWN_CLASS') || define('EXIT_UNKNOWN_CLASS', 5); // unknown class |
| 70 | +defined('EXIT_SUCCESS') || define('EXIT_SUCCESS', 0); // no errors |
| 71 | +defined('EXIT_ERROR') || define('EXIT_ERROR', 1); // generic error |
| 72 | +defined('EXIT_CONFIG') || define('EXIT_CONFIG', 3); // configuration error |
| 73 | +defined('EXIT_UNKNOWN_FILE') || define('EXIT_UNKNOWN_FILE', 4); // file not found |
| 74 | +defined('EXIT_UNKNOWN_CLASS') || define('EXIT_UNKNOWN_CLASS', 5); // unknown class |
75 | 75 | defined('EXIT_UNKNOWN_METHOD') || define('EXIT_UNKNOWN_METHOD', 6); // unknown class member
|
76 |
| -defined('EXIT_USER_INPUT') || define('EXIT_USER_INPUT', 7); // invalid user input |
77 |
| -defined('EXIT_DATABASE') || define('EXIT_DATABASE', 8); // database error |
78 |
| -defined('EXIT__AUTO_MIN') || define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code |
79 |
| -defined('EXIT__AUTO_MAX') || define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code |
| 76 | +defined('EXIT_USER_INPUT') || define('EXIT_USER_INPUT', 7); // invalid user input |
| 77 | +defined('EXIT_DATABASE') || define('EXIT_DATABASE', 8); // database error |
| 78 | +defined('EXIT__AUTO_MIN') || define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code |
| 79 | +defined('EXIT__AUTO_MAX') || define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code |
80 | 80 |
|
81 | 81 | /**
|
82 | 82 | * @deprecated Use \CodeIgniter\Events\Events::PRIORITY_LOW instead.
|
|
0 commit comments