We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7149e87 commit 4de6465Copy full SHA for 4de6465
packages/io-ts-http/src/statusCode.ts
@@ -6,6 +6,7 @@ export const HttpToKeyStatus = {
6
401: 'unauthenticated',
7
403: 'permissionDenied',
8
404: 'notFound',
9
+ 409: 'conflict',
10
429: 'rateLimitExceeded',
11
500: 'internalError',
12
503: 'serviceUnavailable',
@@ -19,6 +20,7 @@ export const KeyToHttpStatus = {
19
20
unauthenticated: 401,
21
permissionDenied: 403,
22
notFound: 404,
23
+ conflict: 409,
24
rateLimitExceeded: 429,
25
internalError: 500,
26
serviceUnavailable: 503,
0 commit comments