Exception: Hanami::CLI::MissingSliceError

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

Overview

Since:

  • 2.0.0

Instance Method Summary collapse

Constructor Details

#initialize(slice) ⇒ MissingSliceError

Returns a new instance of MissingSliceError.

Since:

  • 2.0.0



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