Enum serenity::prelude::HttpError [] [src]

pub enum HttpError {
    UnsuccessfulRequest(Response),
    RateLimitI64,
    RateLimitUtf8,
}

Variants

When a non-successful status code was received for a request.

When the decoding of a ratelimit header could not be properly decoded into an i64.

When the decoding of a ratelimit header could not be properly decoded from UTF-8.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

Auto Trait Implementations

impl Send for HttpError

impl !Sync for HttpError