Enum mcaptcha::errors::ServiceError [−][src]
pub enum ServiceError {
Show 18 variants
InternalServerError,
ClosedForRegistration,
NotAnEmail,
NotAUrl,
WrongPassword,
UsernameNotFound,
AccountNotFound,
ProfainityError,
BlacklistError,
UsernameCaseMappedError,
PasswordTooShort,
PasswordTooLong,
PasswordsDontMatch,
UsernameTaken,
EmailTaken,
UnableToSendEmail(SmtpErrorWrapper),
TokenNotFound,
CaptchaError(CaptchaError),
}
Variants
when the value passed contains profainity
when the value passed contains blacklisted words see blacklist
when the value passed contains characters not present in UsernameCaseMapped profile
when the a username is already taken
email is already taken
UnableToSendEmail(SmtpErrorWrapper)
Unable to send email
Tuple Fields of UnableToSendEmail
when the a token name is already taken token not found
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for ServiceError
impl Send for ServiceError
impl Sync for ServiceError
impl Unpin for ServiceError
impl !UnwindSafe for ServiceError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more