A protocol that extends exceptions to be status-code aware.
By default, it looks for an implementation of the protocol, otherwise checks if the exception has the
:plug_status field or simply returns 500.
Receives an exception and returns its HTTP status code
t() :: term()
Receives an exception and returns its HTTP status code.
© 2013 Plataformatec
Licensed under the Apache License, Version 2.0.