Skip to content

Commit

Permalink
Implement error interface for RemoveObjectError
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhaochen committed Jan 28, 2025
1 parent 41664c2 commit 517b591
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api-remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ type RemoveObjectError struct {
Err error
}

func (err *RemoveObjectError) Error() string {
return err.Err.Error()
}

// RemoveObjectResult - container of Multi Delete S3 API result
type RemoveObjectResult struct {
ObjectName string
Expand Down

0 comments on commit 517b591

Please sign in to comment.