Enum openidconnect::UserInfoError [−][src]
#[non_exhaustive]
pub enum UserInfoError<RE> where
RE: Error + 'static, {
ClaimsVerification(ClaimsVerificationError),
Parse(Error<Error>),
Request(RE),
Response(StatusCode, Vec<u8>, String),
Other(String),
}
Expand description
Error retrieving user info.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ClaimsVerification(ClaimsVerificationError)
Tuple Fields
Failed to verify user info claims.
Parse(Error<Error>)
Failed to parse server response.
Request(RE)
An error occurred while sending the request or receiving the response (e.g., network connectivity failed).
Response(StatusCode, Vec<u8>, String)
Server returned an invalid response.
Other(String)
Tuple Fields
0: String
An unexpected error occurred.