struct Athena::Routing::ErrorRenderer
inherits Struct
#
The default ART::ErrorRendererInterface
, JSON serializes the exception.
Included modules
Athena::Routing::ErrorRendererInterface
Class methods#
Methods#
#render(exception : Exception) : ART::Response
#
(exception : Exception) : ART::Response
Renders the given exception into an ART::Response
.