Exception: ActionDispatch::ParamsParser::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
actionpack/lib/action_dispatch/middleware/params_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, original_exception) ⇒ ParseError

Returns a new instance of ParseError.



10
11
12
13
# File 'actionpack/lib/action_dispatch/middleware/params_parser.rb', line 10

def initialize(message, original_exception)
  super(message)
  @original_exception = original_exception
end

Instance Attribute Details

#original_exceptionObject (readonly)

Returns the value of attribute original_exception



8
9
10
# File 'actionpack/lib/action_dispatch/middleware/params_parser.rb', line 8

def original_exception
  @original_exception
end