Skip to content

Commit f952bec

Browse files
authored
Impl [ui] new error status codes (#76)
1 parent 6a4d409 commit f952bec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib/constants.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ export const validation = {
4949

5050
/*=========== STATUS CODES =============*/
5151

52-
export const INTERNAL_SERVER_ERROR_STATUS_CODE = 500
53-
export const CONFLICT_ERROR_STATUS_CODE = 409
52+
export const BADREQUEST_ERROR_STATUS_CODE = 400
5453
export const FORBIDDEN_ERROR_STATUS_CODE = 403
54+
export const NOTFOUND_ERROR_STATUS_CODE = 404
55+
export const CONFLICT_ERROR_STATUS_CODE = 409
56+
export const INTERNAL_SERVER_ERROR_STATUS_CODE = 500
5557

5658
/*=========== MODAL =============*/
5759

0 commit comments

Comments
 (0)