struct Athena::Routing::ErrorRenderer

Overview

The default ART::ErrorRendererInterface, JSON serializes the exception.

Included Modules

Defined in:

error_renderer.cr

Constructors

Instance Method Summary

Instance methods inherited from module Athena::Routing::ErrorRendererInterface

render(exception : Exception) : ART::Response render

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def initialize #

[View source]
def render(exception : Exception) : ART::Response #

Renders the given exception into an ART::Response.


[View source]