Exception: Hanami::Middleware::BodyParser::UnknownParserError Private

Inherits:
Error
  • Object
show all
Defined in:
lib/hanami/middleware/body_parser/errors.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.3.0

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ UnknownParserError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of UnknownParserError.

Since:

  • 1.3.0



19
20
21
# File 'lib/hanami/middleware/body_parser/errors.rb', line 19

def initialize(name)
  super("Unknown body parser: `#{name.inspect}'")
end