Enum humphrey_auth::error::AuthError [−][src]
pub enum AuthError {
GenericError,
UserNotFound,
UserAlreadyExists,
InvalidToken,
SessionAlreadyExists,
}
Expand description
Represents an error with authentication.
Variants
GenericError
An unknown error.
UserNotFound
The given user could not be found.
UserAlreadyExists
The given user already exists.
InvalidToken
The given token does not exist or has expired.
SessionAlreadyExists
A session for the given user already exists.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthError
impl UnwindSafe for AuthError
Blanket Implementations
Mutably borrows from an owned value. Read more