Plug.Conn.WrapperError exception
Wraps the connection in an error which is meant to be handled upper in the stack.
Used by both Plug.Debugger
and Plug.ErrorHandler
.
Summary↑
exception(msg) | Callback implementation for |
message(arg1) | Callback implementation for |
reraise(conn, kind, reason) | Reraises an error or a wrapped one |
Functions
Specs:
- exception(Keyword.t) :: Exception.t
- exception(String.t) :: Exception.t
Callback implementation for c:Exception.exception/1
.
Callback implementation for c:Exception.message/1
.
Reraises an error or a wrapped one.