Skip to content

Commit 537613e

Browse files
committed
Update description of multiErr
1 parent 84184da commit 537613e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/exceptions/multi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type multiError struct {
1313
}
1414

1515
func (e *multiError) Error() string {
16-
return strings.Join(F.MapToString(e.errors), " | ")
16+
return "(" + strings.Join(F.MapToString(e.errors), " | ") + ")"
1717
}
1818

1919
func (e *multiError) Unwrap() []error {

0 commit comments

Comments
 (0)