mirror of https://github.com/golang/go.git
Updated in response to PR comments.
This commit is contained in:
parent
99c3910cf9
commit
92b3f88a5d
|
|
@ -6,7 +6,7 @@ package errors
|
|||
|
||||
// Join returns an error that wraps the given errors.
|
||||
// Any nil error values are discarded.
|
||||
// Join returns nil if errs consists entirely of nil values.
|
||||
// Join returns nil if every value in errs is nil.
|
||||
// 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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue