11 lines
264 B
Elixir
11 lines
264 B
Elixir
|
|
defmodule BerrypodWeb.NotFoundError do
|
||
|
|
@moduledoc """
|
||
|
|
Raised in LiveViews when a resource can't be found.
|
||
|
|
|
||
|
|
Implements `Plug.Exception` so Phoenix renders the 404 error page
|
||
|
|
instead of a 500.
|
||
|
|
"""
|
||
|
|
|
||
|
|
defexception message: "not found", plug_status: 404
|
||
|
|
end
|