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

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.