We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e992ba commit 8b90671Copy full SHA for 8b90671
src/errors.rs
@@ -22,6 +22,8 @@ pub enum ServiceError {
22
23
#[display("Email is required")] //405j
24
EmailMissing,
25
+ #[display("A verified email is required")] //405j
26
+ VerifiedEmailMissing,
27
#[display("Please enter a valid email address")] //405j
28
EmailInvalid,
29
@@ -60,6 +62,9 @@ pub enum ServiceError {
60
62
#[display("Passwords don't match")]
61
63
PasswordsDontMatch,
64
65
+ #[display("Couldn't send new password to the user")]
66
+ FailedToSendResetPassword,
67
+
68
/// when the a username is already taken
69
#[display("Username not available")]
70
UsernameTaken,
0 commit comments