Exception: Hanami::CLI::UnknownHTTPMethodError

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

Overview

Since:

  • 2.0.0

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ UnknownHTTPMethodError

Returns a new instance of UnknownHTTPMethodError.

Since:

  • 2.0.0



82
83
84
# File 'lib/hanami/cli/errors.rb', line 82

def initialize(name)
  super("unknown HTTP method: `#{name}'")
end