Exception: Hatchet::App::FailedDeployError
- Inherits:
-
FailedDeploy
- Object
- StandardError
- FailedDeploy
- Hatchet::App::FailedDeployError
- Defined in:
- lib/hatchet/app.rb
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(app, message, output:) ⇒ FailedDeployError
constructor
A new instance of FailedDeployError.
Constructor Details
#initialize(app, message, output:) ⇒ FailedDeployError
Returns a new instance of FailedDeployError.
23 24 25 26 27 28 29 30 31 |
# File 'lib/hatchet/app.rb', line 23 def initialize(app, , output: ) @output = output msg = "Could not deploy '#{app.name}' (#{app.repo_name}) using '#{app.class}' at path: '#{app.original_source_code_directory}'\n" msg << "if this was expected add `allow_failure: true` to your deploy hash.\n" msg << "#{}\n" msg << "output:\n" msg << "#{output}" super(msg) end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
21 22 23 |
# File 'lib/hatchet/app.rb', line 21 def output @output end |