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.



7
8
9
10
# File 'lib/aws-sdk-s3/multipart_upload_error.rb', line 7

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.



14
15
16
# File 'lib/aws-sdk-s3/multipart_upload_error.rb', line 14

def errors
  @errors
end