Plug.Conn.WrapperError

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部