Exception: DoSnapshot::DropletShutdownError

Inherits:
RequestActionError show all
Defined in:
lib/do_snapshot.rb

Overview

Droplet must be powered off before snapshot operation!

Instance Attribute Summary

Attributes inherited from RequestActionError

#id

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ DropletShutdownError

Returns a new instance of DropletShutdownError.



57
58
59
60
# File 'lib/do_snapshot.rb', line 57

def initialize(*args)
  DoSnapshot.logger.error "Droplet id: #{args[0]} is Failed to Power Off."
  super
end