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.
206 207 208 209 210 |
# File 'lib/oci/errors.rb', line 206 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
198 199 200 |
# File 'lib/oci/errors.rb', line 198 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)
204 205 206 |
# File 'lib/oci/errors.rb', line 204 def upload_id @upload_id end |