struct Athena::Routing::ErrorRenderer
- Athena::Routing::ErrorRenderer
- Struct
- Value
- Object
Overview
The default ART::ErrorRendererInterface
, JSON serializes the exception.
Included Modules
Defined in:
error_renderer.crConstructors
Instance Method Summary
- #initialize
-
#render(exception : Exception) : ART::Response
Renders the given exception into an
ART::Response
.
Instance methods inherited from module Athena::Routing::ErrorRendererInterface
render(exception : Exception) : ART::Response
render
Constructor Detail
Instance Method Detail
def render(exception : Exception) : ART::Response
#
Renders the given exception into an ART::Response
.