[][src]Enum lightspeed_core::error::LightSpeedError

pub enum LightSpeedError {
    InvalidTokenError {
        message: String,
    },
    ExpiredTokenError {
        message: String,
    },
    GenerateTokenError {
        message: String,
    },
    MissingAuthTokenError,
    ParseAuthHeaderError {
        message: String,
    },
    ModuleBuilderError {
        message: String,
    },
    ModuleStartError {
        message: String,
    },
    ConfigurationError {
        message: String,
    },
    UnauthenticatedError,
    ForbiddenError {
        message: String,
    },
    PasswordEncryptionError {
        message: String,
    },
    InternalServerError {
        message: String,
    },
    RepositoryError {
        message: String,
    },
    ValidationError {
        details: RootErrorDetails,
    },
    BadRequest {
        message: String,
        code: &'static str,
    },
    RequestConflict {
        message: String,
        code: &'static str,
    },
    ServiceUnavailable {
        message: String,
        code: &'static str,
    },
}

Variants

InvalidTokenError

Fields of InvalidTokenError

message: String
ExpiredTokenError

Fields of ExpiredTokenError

message: String
GenerateTokenError

Fields of GenerateTokenError

message: String
MissingAuthTokenError
ParseAuthHeaderError

Fields of ParseAuthHeaderError

message: String
ModuleBuilderError

Fields of ModuleBuilderError

message: String
ModuleStartError

Fields of ModuleStartError

message: String
ConfigurationError

Fields of ConfigurationError

message: String
UnauthenticatedError
ForbiddenError

Fields of ForbiddenError

message: String
PasswordEncryptionError

Fields of PasswordEncryptionError

message: String
InternalServerError

Fields of InternalServerError

message: String
RepositoryError

Fields of RepositoryError

message: String
ValidationError

Fields of ValidationError

details: RootErrorDetails
BadRequest

Fields of BadRequest

message: Stringcode: &'static str
RequestConflict

Fields of RequestConflict

message: Stringcode: &'static str
ServiceUnavailable

Fields of ServiceUnavailable

message: Stringcode: &'static str

Trait Implementations

impl Debug for LightSpeedError[src]

impl Display for LightSpeedError[src]

impl Error for LightSpeedError[src]

impl From<C3p0Error> for LightSpeedError[src]

impl From<Error> for LightSpeedError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,