class Amber::Exceptions::ParameterLimitExceeded

Overview

Raised when request parameters exceed a bound in Amber::Configuration::ParamsConfig. Answered with 400 Bad Request.

Defined in:

amber/exceptions/exceptions.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Amber::Exceptions::BadRequest

new(message : String) new

Instance methods inherited from class Amber::Exceptions::Base

set_response(response) set_response, status_code : Int32 status_code

Constructor Detail

def self.new(message : String, limit_name : String, limit_value : Int) #

[View source]
def self.new(limit_name : String, limit_value : Int) #

[View source]

Instance Method Detail

def limit_name : String #

[View source]
def limit_value : Int64 #

[View source]