Enum yup_oauth2::error::Error [−][src]
pub enum Error {
HttpError(Error),
AuthError(AuthError),
JSONError(Error),
UserError(String),
LowLevelError(Error),
OtherError(Error),
}
Expand description
Encapsulates all possible results of the token(...)
operation
Variants
HttpError(Error)
Tuple Fields
0: Error
Indicates connection failure
AuthError(AuthError)
Tuple Fields
0: AuthError
The server returned an error.
JSONError(Error)
Tuple Fields
0: Error
Error while decoding a JSON response.
UserError(String)
Tuple Fields
0: String
Error within user input.
LowLevelError(Error)
Tuple Fields
0: Error
A lower level IO error.
OtherError(Error)
Tuple Fields
0: Error
Other errors produced by a storage provider