Exception: OCI::Errors::CompositeOperationError

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

Overview

This error is used by the CompositeOperation classes to flag when part of an operation succeeded. For example, creating a resource succeeded but waiting for it to move into a given state failed. This error will contain any results of the composite operation which are available.

The #cause of the error should be inspected for the original error which resulted in this one being thrown.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(partial_results:) ⇒ CompositeOperationError

Returns a new instance of CompositeOperationError.



224
225
226
# File 'lib/oci/errors.rb', line 224

def initialize(partial_results:)
  @partial_results = partial_results
end

Instance Attribute Details

#partial_resultsArray<Response> (readonly)

An array containing any successful Response from the composite operation

Returns:



222
223
224
# File 'lib/oci/errors.rb', line 222

def partial_results
  @partial_results
end