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.
50 51 52 |
# File 'lib/hanami/cli/errors.rb', line 50 def initialize(slice) super("slice `#{slice}' is missing, please generate with `hanami generate slice #{slice}'") end |