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.



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

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end