1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:54:59 -07:00
go/src/errors
Jonathan Amsterdam 7b5303d08a errors: add example for Is
Add ExampleIs to illustrate how errors.Is works.

Updates #31716.
Updates #38369.

Change-Id: I1b9a6667614635aa3a5ed8b2c108d8eb6f35748b
Reviewed-on: https://go-review.googlesource.com/c/go/+/228038
Reviewed-by: Damien Neil <dneil@google.com>
2020-04-13 20:04:56 +00:00
..
errors_test.go
errors.go errors: fix wrong code in package doc 2019-09-04 17:08:55 +00:00
example_test.go
wrap_test.go errors: add example for Is 2020-04-13 20:04:56 +00:00
wrap.go errors: fix typo in As documentation 2020-03-09 18:06:25 +00:00