Plug.Conn.Status
Plug.Conn.Status
Conveniences for working with status codes.
Summary
Functions
- code(integer_or_atom)
-
Returns the status code given an integer or a known atom
- reason_phrase(integer)
Functions
code(integer_or_atom)
code(integer | atom) :: integer
Returns the status code given an integer or a known atom.
Known status codes
The following status codes can be given as atoms with their respective value shown next:
- <