Skip to content

Commit

Permalink
response codes added
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka-1996 committed Apr 10, 2022
1 parent d8168de commit 20c031f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions utils/responseCodes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
'use strict';

module.exports = {
OK: 200,
EntryCreated: 201,
BadRequest: 400,
Unauthorized: 401,
Forbidden: 403,
ResourceNotFound: 405,
Conflict: 409,
TokenInvalid: 412,
InternalServer: 500,
Invalid: 402,
NotActive: 406,
Expired: 408,
Archived: 202
};

0 comments on commit 20c031f

Please sign in to comment.