Ewebmachine.Plug.ErrorAsForward
This plug take an argument forward_pattern
(default to "/error/:status"
), and, when the current response status is an error, simply forward to a GET
to the path defined by the pattern and this status.
Summary↑
call(conn, pattern) |
init(opts) |