Exception: EC2::Platform::Base::Pipeline::ExecutionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EC2::Platform::Base::Pipeline::ExecutionError
- Defined in:
- lib/ec2/platform/base/pipeline.rb
Overview
Instance Method Summary collapse
-
#initialize(pipeline = nil, stage = nil, message = nil) ⇒ ExecutionError
constructor
A new instance of ExecutionError.
Constructor Details
#initialize(pipeline = nil, stage = nil, message = nil) ⇒ ExecutionError
Returns a new instance of ExecutionError.
26 27 28 29 30 31 32 33 |
# File 'lib/ec2/platform/base/pipeline.rb', line 26 def initialize(pipeline=nil, stage=nil, =nil) word = 'Execution failed' word << ", pipeline: #{pipeline}" unless pipeline.nil? word << ", stage: #{stage}" unless stage.nil? word << ', mesage:' + .to_s unless .nil? word << '.' super word end |