14 lines
221 B
Go
14 lines
221 B
Go
|
package s3store
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
)
|
||
|
|
||
|
func newMultiError(errs []error) error {
|
||
|
message := "Multiple errors occured:\n"
|
||
|
for _, err := range errs {
|
||
|
message += "\t" + err.Error() + "\n"
|
||
|
}
|
||
|
return errors.New(message)
|
||
|
}
|