An exception for an error reported or detected during an authorization callback.
The :params field is omitted from Inspect output as it may contain
sensitive data.
Fields
:message- a description of the error:params- the callback parameters associated with the error
Examples
iex> error = Assent.Strategy.CallbackError.exception(message: "error", params: %{"a" => 1})
iex> Exception.message(error)
"error"
iex> error.params
%{"a" => 1}
iex> inspect(error)
"#Assent.Strategy.CallbackError<message: \"error\", ...>"