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.