Enum buerostatus::ApiError [] [src]

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

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

Variants

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

The Return Code of the website is not 200.

The API call delivered a wrong message.

Trait Implementations

impl Debug for ApiError
[src]

Formats the value using the given formatter.