Exception: DoSnapshot::SnapshotCreateError

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

Overview

When snapshot create operation is failed. It can be because of something wrong with droplet or Digital Ocean API.

Instance Attribute Summary

Attributes inherited from RequestActionError

#id

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ SnapshotCreateError

Returns a new instance of SnapshotCreateError.



72
73
74
75
# File 'lib/do_snapshot.rb', line 72

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