pub enum QueryError {
AuthenticationMissingError {
reason: String,
},
JsonDecodeError {
serde_err: Option<Error>,
},
HyperSendError {
hyper_err: Error,
},
HyperStatusError {
response: Response,
},
EmptyResponseError,
TextReadError {
error: Error,
},
}QueryError is a structure of all the errors
that are possible during a query
Variants
AuthenticationMissingErrorFields of AuthenticationMissingError
JsonDecodeErrorFields of JsonDecodeError
HyperSendErrorFields of HyperSendError
HyperStatusErrorFields of HyperStatusError
EmptyResponseErrorTextReadErrorFields of TextReadError
Trait Implementations
Formats the value using the given formatter.