Skip to Content Skip to Search
Methods
#
N

Class Public methods

===(other)

# File actionpack/lib/action_dispatch/http/param_error.rb, line 9
def self.===(other)
  super || (
    # Rack >= 3.1 tags every request-parsing error with Rack::BadRequest;
    # the explicit classes keep Rack 3.0 working.
    defined?(Rack::BadRequest) && Rack::BadRequest === other ||
    defined?(Rack::Utils::ParameterTypeError) && Rack::Utils::ParameterTypeError === other ||
    defined?(Rack::Utils::InvalidParameterError) && Rack::Utils::InvalidParameterError === other ||
    defined?(Rack::QueryParser::ParamsTooDeepError) && Rack::QueryParser::ParamsTooDeepError === other
  )
end

new(message = nil)

# File actionpack/lib/action_dispatch/http/param_error.rb, line 5
def initialize(message = nil)
  super
end