Exception: DeltaCloud::API::BackendError

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

Overview

Re-raise backend errors as on exception in client with message from backend

Instance Method Summary collapse

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

#messageObject



316
317
318
# File 'lib/deltacloud.rb', line 316

def message
  @message
end