Exception: Hanami::Middleware::BodyParser::UnknownParserError Private
- Inherits:
-
Error
- Object
- StandardError
- Error
- Hanami::Middleware::BodyParser::UnknownParserError
- 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.
Instance Method Summary collapse
-
#initialize(name) ⇒ UnknownParserError
constructor
private
A new instance of UnknownParserError.
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.
19 20 21 |
# File 'lib/hanami/middleware/body_parser/errors.rb', line 19 def initialize(name) super("Unknown body parser: `#{name.inspect}'") end |