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.

Source

Summary

call(conn, pattern)
init(opts)

Functions

call(conn, pattern)
Source
init(opts)
Source