struct ActionController::Error::ParameterResponse

Overview

Provides details on which parameter is missing or invalid

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 : String, parameter : Nil | String = nil, restriction : Nil | String = nil) #

[View source]

Instance Method Detail

def error : String #

[View source]
def parameter : String | Nil #

[View source]
def restriction : String | Nil #

[View source]