lib/ueberauth/strategy/amco/error_handler.ex

defmodule Ueberauth.Strategy.Amco.ErrorHandler do
  @type conn :: Plug.Conn
  @type response :: Map.t()

  @doc """
  This callbacks is called when the access token couldn't be validated
  or the OpenID Connect Provider returned that it was invalid or expired.
  """
  @callback access_token_error(conn, response) :: any()
end