Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package errors |
||
2 | |||
3 | import "strings" |
||
4 | |||
5 | type ErrorList []error |
||
|
|||
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 |