PrePlug v1.0.0 API Reference
Modules
This module is gross, but it’s my current solution to the issue being tracked
inside https://github.com/elixir-lang/plug/issues/409. Basically, we need a
way to make sure that certain plugs are executed before the execution of the
try
context inside Plug.ErrorHandler
. We do this by simply overriding the
call/2
function and passing the executed plugs to the super