aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors')
-rw-r--r--src/errors/join.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors/join.go b/src/errors/join.go
index d0a1bc298e..08a79867c6 100644
--- a/src/errors/join.go
+++ b/src/errors/join.go
@@ -16,6 +16,7 @@ import (
// between each string.
//
// A non-nil error returned by Join implements the Unwrap() []error method.
+// The errors may be inspected with [Is] and [As].
func Join(errs ...error) error {
n := 0
for _, err := range errs {