diff --git a/utils/responseCodes.js b/utils/responseCodes.js new file mode 100644 index 0000000..e88afec --- /dev/null +++ b/utils/responseCodes.js @@ -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 +}; \ No newline at end of file