Enum cataclysm::Error[][src]

pub enum Error {
    Io(Error),
    Parse(String),
    ExtractionBR(String),
    ExtractionSE(String),
    Ring,
    Dummy,
}
Expand description

Errors returned by this library

Variants

Io(Error)

Standard io error

Tuple Fields of Io

0: Error
Parse(String)

Could not parse properly the http request, malformed

Tuple Fields of Parse

0: String
ExtractionBR(String)

Could not extract parameter from request. Indicating a bad request.

Tuple Fields of ExtractionBR

0: String
ExtractionSE(String)

Could not extract parameter from request. Indicating a bad server error.

Tuple Fields of ExtractionSE

0: String
Ring

Indicates a Ring error

Dummy

Dummy error, needs to be removed

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.