Exception: OCI::Errors::MultipartUploadError
- Inherits:
-
StandardError
- Object
- StandardError
- OCI::Errors::MultipartUploadError
- Defined in:
- lib/oci/errors.rb
Overview
Raised when there is an error performing a multipart upload (either a new upload or resuming an existing upload).
Instance Attribute Summary collapse
-
#errors ⇒ Array
readonly
An array containing the underlying errors which caused the failure.
-
#upload_id ⇒ String
readonly
The ID of multipart upload against which the error occurred, if known.
Instance Method Summary collapse
-
#initialize(message, errors = [], upload_id = nil) ⇒ MultipartUploadError
constructor
A new instance of MultipartUploadError.
Constructor Details
#initialize(message, errors = [], upload_id = nil) ⇒ MultipartUploadError
Returns a new instance of MultipartUploadError.
90 91 92 93 94 |
# File 'lib/oci/errors.rb', line 90 def initialize(, errors = [], upload_id = nil) super() @errors = errors @upload_id = upload_id end |
Instance Attribute Details
#errors ⇒ Array (readonly)
An array containing the underlying errors which caused the failure
82 83 84 |
# File 'lib/oci/errors.rb', line 82 def errors @errors end |
#upload_id ⇒ String (readonly)
The ID of multipart upload against which the error occurred, if known. This may be useful for resuming uploads which failed because of intermittent issues (e.g. network connectivity or HTTP 5xx errors received from the service)
88 89 90 |
# File 'lib/oci/errors.rb', line 88 def upload_id @upload_id end |