Plug.Conn.WrapperError exception (Plug v1.17.0)

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.

Summary

Functions

Callback implementation for Exception.message/1.

Reraises an error or a wrapped one.

Functions

message(map)

Callback implementation for Exception.message/1.

reraise(reason)

Reraises an error or a wrapped one.

reraise(conn, kind, reason)

This function is deprecated. Use reraise/1 or reraise/4 instead.

reraise(conn, kind, reason, stack)