UeberauthOidcc.Error (Ueberauth OIDCC v0.4.2)
Handles errors returned from the request/callback functions.
Summary
Functions
Renders the given error as an Ueberauth.Failure.Error.t().
Renders the given error reason as an Ueberauth.Failure.t() on the
Plug.Conn.t().
Functions
@spec describe_error(reason :: term(), message_key :: binary()) :: Ueberauth.Failure.Error.t()
Renders the given error as an Ueberauth.Failure.Error.t().
message_key will be used as the default message_key if a better one is
unavailable.
@spec set_described_error(Plug.Conn.t(), reason :: term(), message_key :: binary()) :: Plug.Conn.t()
Renders the given error reason as an Ueberauth.Failure.t() on the
Plug.Conn.t().
message_key will be used as the default message_key if a better one is
unavailable.