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

Exception: Aws::S3::MultipartUploadError

Inherits:
StandardError
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-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



5
6
7
8
# File 'gems/aws-sdk-s3/lib/aws-sdk-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 'gems/aws-sdk-s3/lib/aws-sdk-s3/multipart_upload_error.rb', line 12

def errors
  @errors
end