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

message(map)

Callback implementation for Exception.message/1.

reraise(reason)

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)

© 2013 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/plug/Plug.Conn.WrapperError.html