Exception: DoSnapshot::DropletFindError

Inherits:
RequestError
  • Object
show all
Defined in:
lib/do_snapshot.rb

Overview

When Digital Ocean API say us that not found droplet by id. Or something wrong happened.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ DropletFindError

Returns a new instance of DropletFindError.



82
83
84
85
# File 'lib/do_snapshot.rb', line 82

def initialize(*args)
  DoSnapshot.logger.error "Droplet id: #{args[0]} Not Found"
  super
end