Enum extrahop::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Http(ReqwestError), Json(SerdeJsonError), Parse(ValueError), Rest(RestError), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Http(ReqwestError)
An error from the reqwest
crate.
Json(SerdeJsonError)
An error from the serde_json
crate.
Parse(ValueError)
An error from the serde::de
module.
Rest(RestError)
An error from the ExtraHop appliance
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.