Exception: Aws::S3::MultipartUploadError

Inherits:
StandardError
  • Object
show all
Defined in:
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 '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 'lib/aws-sdk-s3/multipart_upload_error.rb', line 12

def errors
  @errors
end