pub enum Error {
Jose(Jose),
Json(Json),
Oauth(Oauth),
Http(Http),
Url(Url),
Decode(Decode),
Validation(Validation),
Userinfo(Userinfo),
Insecure(Url),
MissingOpenidScope,
}
Variants§
Jose(Jose)
Json(Json)
Oauth(Oauth)
Http(Http)
Url(Url)
Decode(Decode)
Validation(Validation)
Userinfo(Userinfo)
Insecure(Url)
MissingOpenidScope
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn ErrorTrait>
fn cause(&self) -> Option<&dyn ErrorTrait>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<ClientError> for Error
impl From<ClientError> for Error
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§impl From<Validation> for Error
impl From<Validation> for Error
source§fn from(e: Validation) -> Self
fn from(e: Validation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<T> AsFail for Twhere
T: Fail,
impl<T> AsFail for Twhere
T: Fail,
§impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more