Exception: Hanami::CLI::HanamiExecError

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

Overview

Since:

  • 2.1.0

Instance Method Summary collapse

Constructor Details

#initialize(cmd, message) ⇒ HanamiExecError

Returns a new instance of HanamiExecError.

Since:

  • 2.1.0



34
35
36
# File 'lib/hanami/cli/errors.rb', line 34

def initialize(cmd, message)
  super("`bundle exec hanami #{cmd}' failed\n\n\n#{message.inspect}")
end