There are nice names for Phoenix conn status codes

In ruby there is this neat way to define response statuses, something like:

render status: :not_found

And there is something (really) similar as well within the Plug.Conn elixir package.

So in Phoenix you can do this two nice things:

send_resp(conn, 404, "Nothing found!")
send_resp(conn, :not_found, "Nothing found!")