Exception: ActionDispatch::ParamError
- Inherits:
-
Http::Parameters::ParseError
- Object
- StandardError
- Http::Parameters::ParseError
- ActionDispatch::ParamError
- Defined in:
- lib/action_dispatch/http/param_error.rb
Direct Known Subclasses
InvalidParameterError, ParameterTypeError, ParamsTooDeepError
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ ParamError
constructor
A new instance of ParamError.
Constructor Details
#initialize(message = nil) ⇒ ParamError
Returns a new instance of ParamError.
5 6 7 |
# File 'lib/action_dispatch/http/param_error.rb', line 5 def initialize( = nil) super end |
Class Method Details
.===(other) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/action_dispatch/http/param_error.rb', line 9 def self.===(other) super || ( 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 |