class DoSnapshot::SnapshotCreateError

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

Public Class Methods

new(*args) click to toggle source
Calls superclass method DoSnapshot::RequestActionError::new
# File lib/do_snapshot.rb, line 71
def initialize(*args)
  DoSnapshot.logger.error "Droplet id: #{args[0]} is Failed to Snapshot."
  super
end