An exception for when an OpenID Connect UserInfo response is invalid.
The :reason field is omitted from Inspect output as it may contain
sensitive data.
Fields
:message- a description of the error:reason- the underlying failure reason, if any
Examples
iex> error = %Assent.Strategy.OIDC.InvalidUserInfoError{
...> message: "invalid UserInfo response",
...> reason: :invalid_signature
...> }
iex> Exception.message(error)
"invalid UserInfo response"
iex> inspect(error)
"#Assent.Strategy.OIDC.InvalidUserInfoError<message: \"invalid UserInfo response\", ...>"