Enum pocket_relay_core::blaze::errors::ServerError
source · #[repr(u16)]
pub enum ServerError {
Show 20 variants
ServerUnavailable,
EmailNotFound,
WrongPassword,
InvalidSession,
EmailAlreadyInUse,
AgeRestriction,
InvalidAccount,
BannedAccount,
InvalidInformation,
InvalidEmail,
LegalGuardianRequired,
CodeRequired,
KeyCodeAlreadyInUse,
InvalidCerberusKey,
ServerUnavailableFinal,
FailedNoLoginAction,
ServerUnavailableNothing,
ConnectionLost,
Suspend12D,
Suspend12E,
}Expand description
Enum for server error values
Variants§
EmailNotFound
WrongPassword
InvalidSession
EmailAlreadyInUse
AgeRestriction
InvalidAccount
BannedAccount
InvalidInformation
InvalidEmail
LegalGuardianRequired
CodeRequired
KeyCodeAlreadyInUse
InvalidCerberusKey
FailedNoLoginAction
ConnectionLost
Suspend12D
Suspend12E
Trait Implementations§
source§impl Clone for ServerError
impl Clone for ServerError
source§fn clone(&self) -> ServerError
fn clone(&self) -> ServerError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ServerError
impl Debug for ServerError
source§impl From<ServerError> for BlazeError
impl From<ServerError> for BlazeError
source§fn from(err: ServerError) -> Self
fn from(err: ServerError) -> Self
Converts to this type from the input type.