debianize-mobilizon/lib/web/plugs/not_acceptable_error.ex

5 lines
131 B
Elixir
Raw Normal View History

defimpl Plug.Exception, for: Phoenix.NotAcceptableError do
def status(_exception), do: 406
def actions(_exception), do: []
end