Exception: DoSnapshot::DropletPowerError
- Inherits:
-
RequestError
- Object
- StandardError
- RequestError
- DoSnapshot::DropletPowerError
- Defined in:
- lib/do_snapshot.rb
Overview
When Droplet not Powered Off!
Instance Method Summary collapse
-
#initialize(*args) ⇒ DropletPowerError
constructor
A new instance of DropletPowerError.
Constructor Details
#initialize(*args) ⇒ DropletPowerError
Returns a new instance of DropletPowerError.
90 91 92 93 |
# File 'lib/do_snapshot.rb', line 90 def initialize(*args) DoSnapshot.logger.error "Droplet id: #{args[0]} must be Powered Off!" super end |