Exception: Hanami::CLI::InvalidActionNameError
- Defined in:
- lib/hanami/cli/errors.rb
Overview
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidActionNameError
constructor
A new instance of InvalidActionNameError.
Constructor Details
#initialize(name) ⇒ InvalidActionNameError
Returns a new instance of InvalidActionNameError.
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 |