Enum backtalk::ErrorKind [] [src]

pub enum ErrorKind {
    Unauthorized,
    Forbidden,
    RateLimited,
    NotFound,
    BadRequest,
    ServerError,
    Unavailable,
    MethodNotAllowed,
}

A type of error, for instance "Bad Request" or "Server Error".

Variants

The route requires authorization, and it was not provided or was invalid.

The authorization was valid, but the authorized user has insufficient permissions for this route.

The client has been sending requests too quickly, and needs to slow down.

The URL wasn't found.

The request was invalid or bad for some reason.

The request was invalid or bad for some reason.

The server is temporarily overloaded or down for maintenance.

This HTTP method isn't allowed at this URL, and another method would be valid.

Methods

impl ErrorKind
[src]

Returns the string version of the error. For instance, BadRequest returns "bad_request".

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter.