Enum buerostatus::ApiError
[−]
[src]
pub enum ApiError {
Network(Error),
StatusNotOk(StatusCode),
WrongMessage,
}A set of errors that may occur during the API call.
Variants
Network(Error)An error originating from the reqwest crate such as "No Internet connection".
StatusNotOk(StatusCode)The Return Code of the website is not 200.
WrongMessageThe API call delivered a wrong message.