Enum ezomyte::Error
[−]
[src]
pub enum Error { UnderMaintenance, Server(StatusCode), Json(Error), Http(Error), }
Error type emitted by the crate.
Variants
UnderMaintenance
Error for when the API is currently undergoing maintenance.
Server(StatusCode)
Error for when the server returns an HTTP error code (not 2xx).
Json(Error)
Error parsing the JSON response from the server.
Http(Error)
General error from the underlying HTTP client.
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more