Enum github_gql::errors::ErrorKind
[−]
pub enum ErrorKind {
Msg(String),
Io(Error),
Serde(Error),
Hyper(Error),
// some variants omitted
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
Io(Error)std::io::Error converted to an error-chain type
Serde(Error)serde_json::Error converted to an error-chain type
Hyper(Error)hyper::Error converted to an error-chain type
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.