[][src]Enum rowdy::Error

pub enum Error {
    GenericError(String),
    BadRequest(String),
    Auth(Error),
    CORS(Error),
    Token(Error),
    IOError(Error),
    LaunchError(LaunchError),
    UnsupportedOperation,
}

Top level error enum

Variants

GenericError(String)

A generic/unknown error

BadRequest(String)

A bad request resulting from bad request parameters/headers

Auth(Error)

Authentication error

CORS(Error)

CORS error

Token(Error)

Token Error

IOError(Error)

IO errors

LaunchError(LaunchError)

An error launcing Rocket

UnsupportedOperation

Unsupported operation

Trait Implementations

impl From<FmtError> for Error[src]

Error mapping for FmtError

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<String> for Error[src]

impl From<Error> for Error[src]

impl From<LaunchError> for Error[src]

impl Display for Error[src]

impl Debug for Error[src]

impl Error for Error[src]

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

impl<'r> Responder<'r> for Error[src]

Auto Trait Implementations

impl Send for Error

impl Sync for Error

Blanket Implementations

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

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> IntoCollection for T

impl<T, I> AsResult for T where
    I: Input, 

impl<T> Erased for T