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
AuthenticationMissingError
Fields of AuthenticationMissingError
JsonDecodeError
Fields of JsonDecodeError
HyperSendError
Fields of HyperSendError
HyperStatusError
Fields of HyperStatusError
EmptyResponseError
TextReadError
Fields of TextReadError
Trait Implementations
Formats the value using the given formatter.