-
Notifications
You must be signed in to change notification settings - Fork 4
Node++ error codes
Jurek Muszyński edited this page Dec 19, 2021
·
2 revisions
Macro | Value | Description |
---|---|---|
OK | 0 | OK |
ERR_INVALID_REQUEST | 1 | Translates to HTTP status to 400 |
ERR_UNAUTHORIZED | 2 | Translates to HTTP status to 401 |
ERR_FORBIDDEN | 3 | Translates to HTTP status to 403 |
ERR_NOT_FOUND | 4 | Translates to HTTP status to 404 |
ERR_INT_SERVER_ERROR | 5 | Translates to HTTP status to 500 |
ERR_SERVER_TOOBUSY | 6 | Translates to HTTP status to 503 |
ERR_FILE_TOO_BIG | 7 | Uploaded file is too big |
ERR_REDIRECTION | 8 | Redirection required |
ERR_ASYNC_NO_SUCH_SERVICE | 9 | |
ERR_ASYNC_TIMEOUT | 10 | |
ERR_REMOTE_CALL | 11 | |
ERR_REMOTE_CALL_STATUS | 12 | |
ERR_REMOTE_CALL_DATA | 13 |
Macro | Value | Description |
---|---|---|
ERR_INVALID_LOGIN | 101 | User does not exist or invalid password |
ERR_USERNAME_TOO_SHORT | 102 | User name shorter than NPP_MIN_USERNAME_LEN |
ERR_USERNAME_CHARS | 103 | Invalid characters found in user name |
ERR_USERNAME_TAKEN | 104 | User name has already been taken |
Macro | Value | Description |
---|---|---|
ERR_EMAIL_EMPTY | 111 | Email is empty but USERSBYEMAIL is set |
ERR_EMAIL_FORMAT | 112 | Invalid email format |
ERR_EMAIL_FORMAT_OR_EMPTY | 113 | Invalid email format, however empty is allowed |
ERR_EMAIL_TAKEN | 114 | Email has already been taken |
Macro | Value | Description |
---|---|---|
ERR_INVALID_PASSWORD | 121 | Invalid password |
ERR_PASSWORD_TOO_SHORT | 122 | Password is shorter than NPP_MIN_PASSWORD_LEN |
Macro | Value | Description |
---|---|---|
ERR_PASSWORD_DIFFERENT | 131 | Repeated password differs from the original |
Macro | Value | Description |
---|---|---|
ERR_OLD_PASSWORD | 141 | Invalid old password |
Macro | Value | Description |
---|---|---|
ERR_SESSION_EXPIRED | 151 | |
ERR_LINK_BROKEN | 152 | |
ERR_LINK_MAY_BE_EXPIRED | 153 | |
ERR_LINK_EXPIRED | 154 | |
ERR_LINK_TOO_MANY_TRIES | 155 | |
ERR_ROBOT | 156 | |
ERR_WEBSITE_FIRST_LETTER | 157 | |
ERR_NOT_ACTIVATED | 158 |
Macro | Value | Description |
---|---|---|
WAR_NO_EMAIL | 201 | |
WAR_BEFORE_DELETE | 202 | |
WAR_ULA_FIRST | 203 | |
WAR_ULA_SECOND | 204 | |
WAR_ULA_THIRD | 205 | |
WAR_PASSWORD_CHANGE | 206 |
Macro | Value | Description |
---|---|---|
MSG_WELCOME_NO_ACTIVATION | 301 | |
MSG_WELCOME_NEED_ACTIVATION | 302 | |
MSG_WELCOME_AFTER_ACTIVATION | 303 | |
MSG_USER_LOGGED_OUT | 304 | |
MSG_CHANGES_SAVED | 305 | |
MSG_REQUEST_SENT | 306 | |
MSG_PASSWORD_CHANGED | 307 | |
MSG_MESSAGE_SENT | 308 | |
MSG_PROVIDE_FEEDBACK | 309 | |
MSG_FEEDBACK_SENT | 310 | |
MSG_USER_ALREADY_ACTIVATED | 311 | |
MSG_ACCOUNT_DELETED | 312 |