W3cubDocs

/Phoenix

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

exception(args)

Callback implementation for Exception.exception/1

message(map)

Callback implementation for Exception.message/1

reraise(conn, kind, reason)

Reraises an error or a wrapped one

Functions

exception(args)

exception(Keyword.t) :: Exception.t

Callback implementation for Exception.exception/1.

message(map)

Callback implementation for Exception.message/1.

reraise(conn, kind, reason)

Reraises an error or a wrapped one.

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