Enum bittrex::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), ReqwestUrl(UrlError), Reqwest(Error), Api(String), Result(String), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
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.