Skip to content

Commit 67d8b16

Browse files
committed
Errors changed
1 parent c8d2b0c commit 67d8b16

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

angular-awesome-error.js

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,14 @@
3030
</div>',
3131
link: function(scope) {
3232
scope.errorMessage = {
33+
"INVALID_EMAIL_OR_PASSWORD" : "Sorry, Invalid Email or Password.",
3334
"USERNAME_OR_PASSWORD_NOT_CORRECT" : "Sorry, Username or Password is not correct.",
34-
"MISSING_PASSWORD" : "Sorry, Missing Password.",
35+
"USER_ALREADY_EXISTS" : "Sorry, User already exists.",
36+
"MISSING_NICKNAME_PARAMETER" : "Sorry, Missing Nickname",
37+
"MISSING_PASSWORD_PARAMETER" : "Sorry, Missing Password.",
3538
"MISSING_USERNAME" : "Sorry, Missing Username.",
36-
"INVALID_USERNAME" : "Sorry, Invalid Username.",
37-
"INVALID_PASSWORD" : "Sorry, Invalid Password.",
38-
"MISSING_EMAIL" : "Sorry, Missing Email.",
39-
"INVALID_EMAIL" : "Sorry, Invalid Email.",
40-
"USERNAME_NOT_AVAILABLE" : "Sorry, Username is not available.",
41-
"EMAIL_NOT_AVAILABE" : "Sorry, Email is not available",
42-
"FILE_NOT_VALID" : "Sorry, File is not valid",
43-
"Email_Confirm_Email_Not_Matching" : "Sorry, email and confirm email do not match.",
44-
"TAG_NOT_AVAILABLE" : "Sorry, tag not available.",
45-
"UPDATE_COMPLETE" : "Success, update complete.",
46-
"PASSWORD_UPDATE_COMPLETE" : "Success, password updated.",
47-
"file type is not audio/mp3" : "Sorry, file type is not in audio/mp3 format",
48-
"Uploading_Error" : "Uploading error",
49-
"PASSWORD_MODIFICATION_FAILED" : "Sorry, Password modification failed.",
50-
"Undefined" : "Sorry, we encounterned an Unknown problem"
39+
"INVALID_EMAIL" : "Sorry, Not a valid Email.",
40+
"EMAIL_REQUIRED" : "Sorry, Email required"
5141
};
5242

5343
scope.$on('show error', function (args) {

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-errors-directive",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"main": "angular-awesome-error.js",
55
"ignore": [
66
"**/.*",

0 commit comments

Comments
 (0)