Enum bittrex::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Fmt(Error), ReqwestUrl(UrlError), Reqwest(Error), Api(String), Result(String), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Fmt(Error)
Format error
ReqwestUrl(UrlError)
Reqwest URL parsing error
Reqwest(Error)
Reqwest error
Api(String)
Error interacting with the API.
Result(String)
Error result received from the API.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.