1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| const ApiStatus = Object.freeze({
| success: 200,
| error: 400,
| unauthorized: 401,
| forbidden: 403,
| notFound: 404,
| methodNotAllowed: 405,
| requestTimeout: 408,
| internalServerError: 500,
| notImplemented: 501,
| badGateway: 502,
| serviceUnavailable: 503,
| gatewayTimeout: 504,
| httpVersionNotSupported: 505
| })
|
| export { ApiStatus }
|
|