Exception: Capistrano::ASG::Rolling::InstanceTerminateFailed

Inherits:
Exception
  • Object
show all
Defined in:
lib/capistrano/asg/rolling/exception.rb

Overview

Exception when instance terminate has failed.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#instanceObject (readonly)

Returns the value of attribute instance.



28
29
30
# File 'lib/capistrano/asg/rolling/exception.rb', line 28

def instance
  @instance
end