struct ActionController::Error::CommonResponse

Overview

provides a response object for rendering errors

Included Modules

Extended Modules

Defined in:

action-controller/errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(error, backtrace = true) #

[View source]

Instance Method Detail

def backtrace : Array(String) | Nil #

[View source]
def error : String | Nil #

[View source]