-
-
Notifications
You must be signed in to change notification settings - Fork 142
/
error-messages.ts
82 lines (82 loc) · 1.67 KB
/
error-messages.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
export interface ErrorMessages {
/**
* Default to 'User not found'
*/
userNotFound: string;
/**
* Default to 'User has no password set'
*/
noPasswordSet: string;
/**
* Default to 'User has no email set'
*/
noEmailSet: string;
/**
* Default to 'Incorrect password'
*/
incorrectPassword: string;
/**
* Default to 'Unrecognized options for login request'
*/
unrecognizedOptionsForLogin: string;
/**
* Default to 'Match failed'
*/
matchFailed: string;
/**
* Default to 'Invalid username'
*/
invalidUsername: string;
/**
* Default to 'Invalid email'
*/
invalidEmail: string;
/**
* Default to 'Email not verified'
*/
emailNotVerified: string;
/**
* Default to 'Invalid password'
*/
invalidPassword: string;
/**
* Default to 'Invalid new password'
*/
invalidNewPassword: string;
/**
* Default to 'Invalid credentials'
*/
invalidCredentials: string;
/**
* Default to 'Invalid token'
*/
invalidToken: string;
/**
* Default to 'Verify email link expired'
*/
verifyEmailLinkExpired: string;
/**
* Default to 'Verify email link is for unknown address'
*/
verifyEmailLinkUnknownAddress: string;
/**
* Default to 'Reset password link expired'
*/
resetPasswordLinkExpired: string;
/**
* Default to 'Verify email link is for unknown address'
*/
resetPasswordLinkUnknownAddress: string;
/**
* Default to 'Username already exists'
*/
usernameAlreadyExists: string;
/**
* Default to 'Email already exists'
*/
emailAlreadyExists: string;
/**
* Default to 'Username or Email is required'
*/
usernameOrEmailRequired: string;
}