浏览代码

Add invalidLoginCredentials and requestNotAuthorized error

sbkwgh 8 年之前
父节点
当前提交
851a305940
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lib/errors.js

+ 2 - 0
lib/errors.js

@@ -1,6 +1,8 @@
 let Errors = {
 	unknown: 'An unknown error occured on our end. Please try again later',
 	accountAlreadyCreated: 'This account has already been created',
+	invalidLoginCredentials: 'Invalid login credentials were provided',
+	requestNotAuthorized: 'The request was not authorizedbn',
 	missingParameter (param) {
 		return `The request is missing the parameter "${param}"`
 	},