Struct: s3manager.Error

import "../ibm-cos-sdk-go/service/s3/s3manager"

Overview

Error will contain the original error, bucket, and key of the operation that failed during batch operations.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

Bucket *string

Key *string

OrigErr error

Method Details

func (err *Error) Error() string



61
62
63
64
65
66
67
68
69
70
71
// File 'service/s3/s3manager/batch.go', line 61

func (err *Error) Error() string { origErr := "" if err.OrigErr != nil { origErr = ":\n" + err.OrigErr.Error() } return fmt.Sprintf("failed to perform batch operation on %q to %q%s", aws.StringValue(err.Key), aws.StringValue(err.Bucket), origErr, ) }