Enum dagpirs::HttpError [−][src]
pub enum HttpError { RequestFailed(Error), InternalServerError, NotFound, Unauthorized, FileTooLarge, ImageUnaccesbile(String), ParameterError(MissingParams), BadRequest(String), RateLimited(i32, i32), }
Enum Used to store possible API errors
Variants
RequestFailed(Error)
ImageUnaccesbile(String)
ParameterError(MissingParams)
BadRequest(String)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for HttpError
impl !RefUnwindSafe for HttpError
impl !UnwindSafe for HttpError
impl !UnwindSafe for HttpError
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]