diff options
Diffstat (limited to 'src/errors/join.go')
| -rw-r--r-- | src/errors/join.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors/join.go b/src/errors/join.go index 329082a5e3..1c486d591e 100644 --- a/src/errors/join.go +++ b/src/errors/join.go @@ -10,6 +10,8 @@ package errors // The error formats as the concatenation of the strings obtained // by calling the Error method of each element of errs, with a newline // between each string. +// +// A non-nil error returned by Join implements the Unwrap() []error method. func Join(errs ...error) error { n := 0 for _, err := range errs { |
