Exception: Hanami::Action::UnknownHttpStatusError

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

Overview

Unknown status HTTP Status error

Instance Method Summary collapse

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.

Since:

  • 2.0.2



21
22
23
# File 'lib/hanami/action/errors.rb', line 21

def initialize(code)
  super("unknown HTTP status: `#{code.inspect}'")
end