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

Functions

Callback implementation for c:Exception.exception/1

Callback implementation for c:Exception.message/1

Reraises an error or a wrapped one

Functions

exception(args)

Specs

exception(Keyword.t) :: Exception.t

Callback implementation for c:Exception.exception/1.

message(map)

Callback implementation for c:Exception.message/1.

reraise(conn, kind, reason)

Reraises an error or a wrapped one.