Enum rs_es::error::EsError
[−]
[src]
pub enum EsError { EsError(String), EsServerError(String), HttpError(Error), IoError(Error), JsonError(Error), }
Error that can occur include IO and parsing errors, as well as specific errors from the ElasticSearch server and logic errors from this library
Variants
EsError(String)
An internal error from this library
EsServerError(String)
An error reported in a JSON response from the ElasticSearch server
HttpError(Error)
Miscellaneous error from the HTTP library
IoError(Error)
Miscellaneous IO error
JsonError(Error)
JSON error
Trait Implementations
impl Debug for EsError
[src]
impl From<Error> for EsError
[src]
impl From<Error> for EsError
[src]
impl From<Error> for EsError
[src]
impl<'a> From<&'a mut Response> for EsError
[src]
impl Error for EsError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more