Enum buerostatus::ApiError [] [src]

pub enum ApiError {
    Network(HyperError),
    StatusNotOk(StatusCode),
    WrongMessage,
}

A set of errors that may occur during the API call.

Variants

Network(HyperError)

An error originating from the hyper crate such as "No Internet connection".

StatusNotOk(StatusCode)

The Return Code of the website is not 200.

WrongMessage

The API call delivered a wrong message.

Trait Implementations

impl Debug for ApiError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.