Exception: Deltacloud::BackendError
- Inherits:
-
StandardError
- Object
- StandardError
- Deltacloud::BackendError
- Defined in:
- lib/deltacloud/base_driver/base_driver.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
-
#initialize(code, cause, message, details) ⇒ BackendError
constructor
A new instance of BackendError.
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, , details) super() @code = code @cause = cause @details = details end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
25 26 27 |
# File 'lib/deltacloud/base_driver/base_driver.rb', line 25 def cause @cause end |
#code ⇒ Object (readonly)
Returns the value of attribute code.
25 26 27 |
# File 'lib/deltacloud/base_driver/base_driver.rb', line 25 def code @code end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
25 26 27 |
# File 'lib/deltacloud/base_driver/base_driver.rb', line 25 def details @details end |