Exception: Hanami::CLI::MissingSliceError
- Defined in:
- lib/hanami/cli/errors.rb
Overview
Instance Method Summary collapse
-
#initialize(slice) ⇒ MissingSliceError
constructor
A new instance of MissingSliceError.
Constructor Details
#initialize(slice) ⇒ MissingSliceError
Returns a new instance of MissingSliceError.
68 69 70 |
# File 'lib/hanami/cli/errors.rb', line 68 def initialize(slice) super("slice `#{slice}' is missing, please generate with `hanami generate slice #{slice}'") end |