Exception: DoSnapshot::SnapshotCreateError
- Inherits:
-
RequestActionError
- Object
- StandardError
- RequestError
- RequestActionError
- DoSnapshot::SnapshotCreateError
- 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
Instance Method Summary collapse
-
#initialize(*args) ⇒ SnapshotCreateError
constructor
A new instance of SnapshotCreateError.
Constructor Details
#initialize(*args) ⇒ SnapshotCreateError
Returns a new instance of SnapshotCreateError.
71 72 73 74 |
# File 'lib/do_snapshot.rb', line 71 def initialize(*args) DoSnapshot.logger.error "Droplet id: #{args[0]} is Failed to Snapshot." super end |