Exception: DoSnapshot::RequestActionError

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

Overview

Base Exception for cases when we need id for log and/or something actions.

Direct Known Subclasses

DropletShutdownError, SnapshotCreateError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ RequestActionError

Returns a new instance of RequestActionError.



53
54
55
# File 'lib/do_snapshot.rb', line 53

def initialize(*args)
  @id = args[0]
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



51
52
53
# File 'lib/do_snapshot.rb', line 51

def id
  @id
end