Enum wasm_oidc_plugin::error::PluginError
source · pub enum PluginError {
Show 20 variants
ConfigError(String),
UrlError(ParseError),
YamlError(Error),
JsonError(Error),
Utf8Error(FromUtf8Error),
DecodeError(DecodeError),
CodeNotFoundInCallbackError(Error),
TokenResponseFormatError(String),
TokenValidationError(Error),
NoKeyError,
DispatchError,
TokenIdMismatchError,
NoBodyError,
AesError(Error),
CookieStoreError(String),
CookieValidationError(String),
SessionCookieNotFoundError,
NonceCookieNotFoundError,
AuthorizationStateNotFoundError,
StateMismatchError,
}
Expand description
Error type for the plugin
Variants§
ConfigError(String)
UrlError(ParseError)
YamlError(Error)
JsonError(Error)
Utf8Error(FromUtf8Error)
DecodeError(DecodeError)
CodeNotFoundInCallbackError(Error)
TokenResponseFormatError(String)
TokenValidationError(Error)
NoKeyError
DispatchError
TokenIdMismatchError
NoBodyError
AesError(Error)
CookieStoreError(String)
CookieValidationError(String)
SessionCookieNotFoundError
NonceCookieNotFoundError
AuthorizationStateNotFoundError
StateMismatchError
Trait Implementations§
source§impl Debug for PluginError
impl Debug for PluginError
source§impl Display for PluginError
impl Display for PluginError
source§impl Error for PluginError
impl Error for PluginError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DecodeError> for PluginError
impl From<DecodeError> for PluginError
source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for PluginError
impl From<Error> for PluginError
source§impl From<Error> for PluginError
impl From<Error> for PluginError
source§impl From<Error> for PluginError
impl From<Error> for PluginError
source§impl From<Error> for PluginError
impl From<Error> for PluginError
source§impl From<Error> for PluginError
impl From<Error> for PluginError
source§impl From<FromUtf8Error> for PluginError
impl From<FromUtf8Error> for PluginError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for PluginError
impl From<ParseError> for PluginError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PluginError
impl !RefUnwindSafe for PluginError
impl Send for PluginError
impl Sync for PluginError
impl Unpin for PluginError
impl !UnwindSafe for PluginError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more