Exception: Deltacloud::BackendError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/deltacloud/base_driver/base_driver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, cause, message, details) ⇒ BackendError

Returns a new instance of BackendError.



26
27
28
29
30
31
# File 'lib/deltacloud/base_driver/base_driver.rb', line 26

def initialize(code, cause, message, details)
  super(message)
  @code = code
  @cause = cause
  @details = details
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



25
26
27
# File 'lib/deltacloud/base_driver/base_driver.rb', line 25

def cause
  @cause
end

#codeObject (readonly)

Returns the value of attribute code.



25
26
27
# File 'lib/deltacloud/base_driver/base_driver.rb', line 25

def code
  @code
end

#detailsObject (readonly)

Returns the value of attribute details.



25
26
27
# File 'lib/deltacloud/base_driver/base_driver.rb', line 25

def details
  @details
end