Enum serenity::prelude::HttpError
[−]
[src]
pub enum HttpError { UnsuccessfulRequest(Response), RateLimitI64, RateLimitUtf8, }
Variants
UnsuccessfulRequest(Response)
When a non-successful status code was received for a request.
RateLimitI64
When the decoding of a ratelimit header could not be properly decoded
into an i64
.
RateLimitUtf8
When the decoding of a ratelimit header could not be properly decoded from UTF-8.
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
[src]
Formats the value using the given formatter. Read more