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.



62
63
64
65
# File 'lib/do_snapshot.rb', line 62

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