Exception: Hanami::Action::UnknownHttpStatusError
- Defined in:
- lib/hanami/action/errors.rb
Overview
Unknown status HTTP Status error
Instance Method Summary collapse
-
#initialize(code) ⇒ UnknownHttpStatusError
constructor
private
A new instance of UnknownHttpStatusError.
Constructor Details
#initialize(code) ⇒ UnknownHttpStatusError
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 UnknownHttpStatusError.
21 22 23 |
# File 'lib/hanami/action/errors.rb', line 21 def initialize(code) super("unknown HTTP status: `#{code.inspect}'") end |