Ewebmachine.Plug.ErrorAsForward (ewebmachine v2.3.0) View Source

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.