Exception: Hanami::CLI::InvalidActionNameError

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) ⇒ InvalidActionNameError

Returns a new instance of InvalidActionNameError.

Since:

  • 2.0.0



74
75
76
# File 'lib/hanami/cli/errors.rb', line 74

def initialize(name)
  super("cannot parse controller and action name: `#{name}'\n\texample: `hanami generate action users.show'")
end