Exception: ActionDispatch::Http::Parameters::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
actionpack/lib/action_dispatch/http/parameters.rb

Overview

Raised when raw data from the request cannot be parsed by the parser defined for request’s content MIME type.

Instance Method Summary collapse

Constructor Details

#initialize(message = $!.message) ⇒ ParseError

Returns a new instance of ParseError.



20
21
22
# File 'actionpack/lib/action_dispatch/http/parameters.rb', line 20

def initialize(message = $!.message)
  super(message)
end