Exception: Hanami::CLI::PathAlreadyExistsError

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

Overview

Since:

  • 2.0.0

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ PathAlreadyExistsError

Returns a new instance of PathAlreadyExistsError.

Since:

  • 2.0.0



42
43
44
# File 'lib/hanami/cli/errors.rb', line 42

def initialize(path)
  super("Cannot create new Hanami app in an existing path: `#{path}'")
end