aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/aws/smithy-go/testing/errors.go
blob: 2b588021fcd92eaf8018aae196806908977ac77d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package testing

import "strings"

// errors provides batching errors
type errors []error

func (es errors) Error() string {
	var b strings.Builder
	for _, e := range es {
		b.WriteString(e.Error())
	}

	return b.String()
}