aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors')
-rw-r--r--src/errors/errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/errors/errors.go b/src/errors/errors.go
index 9e3860aaa9..5059be12ed 100644
--- a/src/errors/errors.go
+++ b/src/errors/errors.go
@@ -26,6 +26,9 @@
// itself followed by the tree of each of its children in turn
// (pre-order, depth-first traversal).
//
+// See https://go.dev/blog/go1.13-errors for a deeper discussion of the
+// philosophy of wrapping and when to wrap.
+//
// [Is] examines the tree of its first argument looking for an error that
// matches the second. It reports whether it finds a match. It should be
// used in preference to simple equality checks: