Plug v1.4.0 Plug.Conn.WrapperError exception View Source

Wraps the connection in an error which is meant to be handled upper in the stack.

Used by both Plug.Debugger and Plug.ErrorHandler.

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Reraises an error or a wrapped one

Link to this section Functions

Link to this function exception(args) View Source
exception(keyword) :: Exception.t

Callback implementation for Exception.exception/1.

Callback implementation for Exception.message/1.

Link to this function reraise(conn, kind, reason) View Source

Reraises an error or a wrapped one.