Exception: OpenStack::Exception::ComputeError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenStack::Exception::ComputeError
- Defined in:
- lib/openstack/connection.rb
Direct Known Subclasses
BackupOrResizeInProgress, BadMediaType, BadMethod, BadRequest, BuildInProgress, ComputeFault, ItemNotFound, NotImplemented, Other, OverLimit, ResizeNotAllowed, ResourceStateConflict, ServerCapacityUnavailable, ServiceUnavailable, Unauthorized
Instance Attribute Summary collapse
-
#response_body ⇒ Object
readonly
Returns the value of attribute response_body.
-
#response_code ⇒ Object
readonly
Returns the value of attribute response_code.
Instance Method Summary collapse
-
#initialize(message, code, response_body) ⇒ ComputeError
constructor
A new instance of ComputeError.
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(, code, response_body) @response_code=code @response_body=response_body super() end |
Instance Attribute Details
#response_body ⇒ Object (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_code ⇒ Object (readonly)
Returns the value of attribute response_code.
387 388 389 |
# File 'lib/openstack/connection.rb', line 387 def response_code @response_code end |