Exception: DeltaCloud::API::BackendError

Inherits:
Exception
  • 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.



291
292
293
# File 'lib/deltacloud.rb', line 291

def initialize(opts={})
  @message = opts[:message]
end

Instance Method Details

#messageObject



294
295
296
# File 'lib/deltacloud.rb', line 294

def message
  @message
end