Exception: DoSnapshot::DropletPowerError

Inherits:
RequestError
  • Object
show all
Defined in:
lib/do_snapshot.rb

Overview

When Droplet not Powered Off!

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ DropletPowerError

Returns a new instance of DropletPowerError.



91
92
93
94
# File 'lib/do_snapshot.rb', line 91

def initialize(*args)
  DoSnapshot.logger.error "Droplet id: #{args[0]} must be Powered Off!"
  super
end