CreateUserErrors
@accounts/password › Globals › CreateUserErrors
Index
Enumeration members
- EmailAlreadyExists
- InvalidEmail
- InvalidPassword
- InvalidUsername
- UsernameAlreadyExists
- UsernameOrEmailRequired
Enumeration members
EmailAlreadyExists
• EmailAlreadyExists: = "EmailAlreadyExists"
Defined in errors.ts:45
Email already exist in the database.
InvalidEmail
• InvalidEmail: = "InvalidEmail"
Defined in errors.ts:37
Email validation via option validateEmail
failed.
InvalidPassword
• InvalidPassword: = "InvalidPassword"
Defined in errors.ts:41
Password validation via option validatePassword
failed.
InvalidUsername
• InvalidUsername: = "InvalidUsername"
Defined in errors.ts:33
Username validation via option validateUsername
failed.
UsernameAlreadyExists
• UsernameAlreadyExists: = "UsernameAlreadyExists"
Defined in errors.ts:49
Username already exist in the database.
UsernameOrEmailRequired
• UsernameOrEmailRequired: = "UsernameOrEmailRequired"
Defined in errors.ts:29
Will throw if no username or email is provided.