class Crack::Handler::Error

Overview

The Error Handler catches any unhandled exceptions and returns a 500 with a backtrace in text/plain format.

Defined in:

crack/error.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Crack::Handler::Base

call(context) call, config(&) config

Class methods inherited from class Crack::Handler::Base

config(&) config

Class Method Detail

def self.instance #

class method to return a singleton instance of this Controller


[View source]

Instance Method Detail

def call(context) #
Description copied from class Crack::Handler::Base

Execution of this handler.


[View source]