Browse Source

Add invalidLoginCredentials and requestNotAuthorized error

sbkwgh 8 năm trước cách đây
mục cha
commit
851a305940
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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}"`
 	},