go/src/errors
Olivier Mengué ef7b713fef errors: clarify references to Unwrap in doc
CL 535080 incorrectly links the unclear mention of Unwrap to the func
Unwrap in doc for errors.Is and errors.As

Instead we clarify that "Unwrap" is a reference
to the "Unwrap() error" or "Unwrap() []error" methods, not to the
"Unwrap(error) error" function which is also available in the package.

Change-Id: I8314993932e1e7a2dc77400f74d81f3a8aa891de
Reviewed-on: https://go-review.googlesource.com/c/go/+/538155
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: qiulaidongfeng <2645477756@qq.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2023-11-21 22:04:29 +00:00
..
errors.go errors: add available godoc link 2023-11-02 19:45:41 +00:00
errors_test.go errors: move example functions into example_test file 2023-01-20 21:55:10 +00:00
example_test.go errors: add a colon after Output to make the Example in the document display correctly 2023-08-16 02:08:40 +00:00
join.go errors: optimize *joinError's Error method for less allocation and faster execution 2023-07-31 18:37:32 +00:00
join_test.go errors: add test for Join 2022-10-17 21:48:12 +00:00
wrap.go errors: clarify references to Unwrap in doc 2023-11-21 22:04:29 +00:00
wrap_test.go errors: optimize Is and As by reusing reflection of target 2023-08-18 23:40:44 +00:00