Struct: s3manager.BatchError

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

Overview

BatchError will contain the key and bucket of the object that failed to either upload or download.

Implemented Interfaces

s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

Errors Errors

Method Details

func (err *BatchError) Code() string

Code will return the code associated with the batch error.



83
84
85
// File 'service/s3/s3manager/batch.go', line 83

func (err *BatchError) Code() string { return err.code }

func (err *BatchError) Error() string



92
93
94
// File 'service/s3/s3manager/batch.go', line 92

func (err *BatchError) Error() string { return awserr.SprintError(err.Code(), err.Message(), "", err.Errors) }

func (err *BatchError) Message() string

Message will return the message associated with the batch error.



88
89
90
// File 'service/s3/s3manager/batch.go', line 88

func (err *BatchError) Message() string { return err.message }

func (err *BatchError) OrigErr() error

OrigErr will return the original error. Which, in this case, will always be nil for batched operations.



98
99
100
// File 'service/s3/s3manager/batch.go', line 98

func (err *BatchError) OrigErr() error { return err.Errors }