1 |
|
2 |
|
3 | module.exports = class Code {
|
4 | static OK = 200;
|
5 | static BAD_REQUEST = 400;
|
6 | static UNAUTHORIZED = 401;
|
7 | static FORBIDDEN = 403;
|
8 | static NOT_FOUND = 404;
|
9 | static METHOD_NOT_ALLOWED = 405;
|
10 | static CONFLICT = 409;
|
11 | static UNPROCESSABLE_ENTITY = 422;
|
12 | static INTERNAL_SERVER_ERROR = 500;
|
13 | static SERVICE_UNAVAILABLE = 503;
|
14 | static FAIL = 999;
|
15 | static INVALID = 998;
|
16 | } |
\ | No newline at end of file |