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.
186 187 188 189 190 |
# File 'lib/oci/errors.rb', line 186 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
178 179 180 |
# File 'lib/oci/errors.rb', line 178 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)
184 185 186 |
# File 'lib/oci/errors.rb', line 184 def upload_id @upload_id end |