Goal: have a personal blog, and try out another point in the 'modular app design with elixir' space. Designing OTP systems with elixir had some interesting ideas.
8 lines
200 B
Elixir
8 lines
200 B
Elixir
defmodule Blogex.NotFoundError do
|
|
@moduledoc """
|
|
Raised when a blog or post is not found.
|
|
Implements Plug.Exception to return a 404 status.
|
|
"""
|
|
defexception [:message, plug_status: 404]
|
|
end
|