Exception: DreamOps::NoRunningInstancesError
- Inherits:
-
DreamOpsError
- Object
- StandardError
- DreamOpsError
- DreamOps::NoRunningInstancesError
- Defined in:
- lib/dream-ops/errors.rb
Instance Method Summary collapse
-
#initialize(stack) ⇒ NoRunningInstancesError
constructor
A new instance of NoRunningInstancesError.
- #to_s ⇒ Object
Methods inherited from DreamOpsError
Constructor Details
#initialize(stack) ⇒ NoRunningInstancesError
Returns a new instance of NoRunningInstancesError.
17 18 19 |
# File 'lib/dream-ops/errors.rb', line 17 def initialize(stack) @stack = stack end |
Instance Method Details
#to_s ⇒ Object
21 22 23 |
# File 'lib/dream-ops/errors.rb', line 21 def to_s "Stack \"#{@stack.name}\" has no running instances." end |