Exception: DeltaCloud::API::BackendError
- Inherits:
-
Exception
- Object
- Exception
- DeltaCloud::API::BackendError
- Defined in:
- lib/deltacloud.rb
Overview
Re-raise backend errors as on exception in client with message from backend
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ BackendError
constructor
A new instance of BackendError.
- #message ⇒ Object
Constructor Details
#initialize(opts = {}) ⇒ BackendError
Returns a new instance of BackendError.
291 292 293 |
# File 'lib/deltacloud.rb', line 291 def initialize(opts={}) @message = opts[:message] end |
Instance Method Details
#message ⇒ Object
294 295 296 |
# File 'lib/deltacloud.rb', line 294 def @message end |