Exception: Capistrano::ASG::Rolling::InstanceTerminateFailed
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- Capistrano::ASG::Rolling::InstanceTerminateFailed
- Defined in:
- lib/capistrano/asg/rolling/exception.rb
Overview
Exception when instance terminate has failed.
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
Instance Method Summary collapse
-
#initialize(instance, exception) ⇒ InstanceTerminateFailed
constructor
A new instance of InstanceTerminateFailed.
Constructor Details
#initialize(instance, exception) ⇒ InstanceTerminateFailed
Returns a new instance of InstanceTerminateFailed.
30 31 32 33 |
# File 'lib/capistrano/asg/rolling/exception.rb', line 30 def initialize(instance, exception) @instance = instance super(exception) end |
Instance Attribute Details
#instance ⇒ Object (readonly)
Returns the value of attribute instance.
28 29 30 |
# File 'lib/capistrano/asg/rolling/exception.rb', line 28 def instance @instance end |