Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Exception: Aws::S3::MultipartUploadError

Inherits:
StandardError
  • Object
show all
Defined in:
aws-sdk-resources/lib/aws-sdk-resources/services/s3/multipart_upload_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, errors) ⇒ MultipartUploadError

Returns a new instance of MultipartUploadError.

[View source]

5
6
7
8
# File 'aws-sdk-resources/lib/aws-sdk-resources/services/s3/multipart_upload_error.rb', line 5

def initialize(message, errors)
  @errors = errors
  super(message)
end

Instance Attribute Details

#errorsArray<StandardError> (readonly)

Returns The list of errors encountered when uploading or aborting the upload.

Returns:

  • (Array<StandardError>)

    The list of errors encountered when uploading or aborting the upload.


12
13
14
# File 'aws-sdk-resources/lib/aws-sdk-resources/services/s3/multipart_upload_error.rb', line 12

def errors
  @errors
end