defmodule PushExWeb.ErrorView do @moduledoc false use PushExWeb, :view def template_not_found(template, _assigns) do %{errors: %{detail: Phoenix.Controller.status_message_from_template(template)}} end end