Exception: DeltaCloud::API::BackendError
- Inherits:
-
StandardError
- Object
- StandardError
- 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.
313 314 315 |
# File 'lib/deltacloud.rb', line 313 def initialize(opts={}) @message = opts[:message] end |
Instance Method Details
#message ⇒ Object
316 317 318 |
# File 'lib/deltacloud.rb', line 316 def @message end |