File: errors.go

package info (click to toggle)
golang-github-aws-smithy-go 1.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,116 kB
  • sloc: java: 19,678; xml: 166; sh: 131; makefile: 70
file content (15 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (3)
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()
}