Passed
Push — master ( 70e599...9a4686 )
by eval
01:38
created

errors/error_list.go   A

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 8
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A errors.ErrorList.Error 0 7 2
1
package errors
2
3
import "strings"
4
5
type ErrorList []error
0 ignored issues
show
introduced by
exported type ErrorList should have comment or be unexported
Loading history...
6
7
func (ee ErrorList) Error() string {
8
	var buf strings.Builder
9
	for _, e := range ee {
10
		buf.WriteString(e.Error())
11
	}
12
13
	return buf.String()
14
}
15