Procházet zdrojové kódy

Add invalidLoginCredentials and requestNotAuthorized error

sbkwgh před 8 roky
rodič
revize
851a305940
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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}"`
 	},