Skip to content

Commit 4de6465

Browse files
committed
feat(io-ts-http): Add 409 (conflict) response code
1 parent 7149e87 commit 4de6465

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/io-ts-http/src/statusCode.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const HttpToKeyStatus = {
66
401: 'unauthenticated',
77
403: 'permissionDenied',
88
404: 'notFound',
9+
409: 'conflict',
910
429: 'rateLimitExceeded',
1011
500: 'internalError',
1112
503: 'serviceUnavailable',
@@ -19,6 +20,7 @@ export const KeyToHttpStatus = {
1920
unauthenticated: 401,
2021
permissionDenied: 403,
2122
notFound: 404,
23+
conflict: 409,
2224
rateLimitExceeded: 429,
2325
internalError: 500,
2426
serviceUnavailable: 503,

0 commit comments

Comments
 (0)