Exception: Hatchet::App::FailedDeploy
- Inherits:
-
StandardError
- Object
- StandardError
- Hatchet::App::FailedDeploy
- Defined in:
- lib/hatchet/app.rb
Instance Method Summary collapse
-
#initialize(app, output) ⇒ FailedDeploy
constructor
A new instance of FailedDeploy.
Constructor Details
#initialize(app, output) ⇒ FailedDeploy
Returns a new instance of FailedDeploy.
6 7 8 9 10 11 12 |
# File 'lib/hatchet/app.rb', line 6 def initialize(app, output) msg = "Could not deploy '#{app.name}' (#{app.repo_name}) using '#{app.class}' at path: '#{app.directory}'\n" << " if this was expected add `allow_failure: true` to your deploy hash.\n" << "output:\n" << "#{output}" super(msg) end |