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

Inherits:
StandardError
  • Object
show all
Defined in:
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.

Direct Known Subclasses

ParamError

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ParseError.



22
23
24
# File 'lib/action_dispatch/http/parameters.rb', line 22

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