Exception: OpenStack::Exception::ComputeError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, code, response_body) ⇒ ComputeError

Returns a new instance of ComputeError.



389
390
391
392
393
# File 'lib/openstack/connection.rb', line 389

def initialize(message, code, response_body)
  @response_code=code
  @response_body=response_body
  super(message)
end

Instance Attribute Details

#response_bodyObject (readonly)

Returns the value of attribute response_body.



386
387
388
# File 'lib/openstack/connection.rb', line 386

def response_body
  @response_body
end

#response_codeObject (readonly)

Returns the value of attribute response_code.



387
388
389
# File 'lib/openstack/connection.rb', line 387

def response_code
  @response_code
end