Phoenix.Controller.ErrorController
Default 404 and 500 error page controller, configured via Mix on each Router
Example Configuration
config :phoenix, MyApp.Router,
error_controller: MyApp.ErrorController
config :phoenix, App.Router,
error_controller: Phoenix.Controller.ErrorController
Summary
| action(conn, options) | |
| call(conn, action) | Callback implementation of |
| error(conn, ) | |
| error_debug(conn, opts) | Render HTML response with stack trace for use in development |
| init(action) | Callback implementation of |
| not_found(conn, ) | |
| not_found_debug(conn, ) | |
| render(conn, template, assigns \\ []) |