]> Cypherpunks repositories - gostls13.git/commit
errors: improve doc
authorJonathan Amsterdam <jba@google.com>
Fri, 2 Aug 2019 10:43:20 +0000 (06:43 -0400)
committerJonathan Amsterdam <jba@google.com>
Tue, 6 Aug 2019 11:13:05 +0000 (11:13 +0000)
commit546ea78efa159680dde0df42f1f2091ccafef4df
tree6a6651d24b88ee567f02a26196feda32f99a396d
parenta4c825156d0a3817377a2b7e5b30ab50e11440ab
errors: improve doc

Explain wrapping and how to use Is and As in the package doc.

Explain "chain" in Is and As.

Updates #33364.

Change-Id: Ic06362106dbd129e33dd47e63176ee5355492086
Reviewed-on: https://go-review.googlesource.com/c/go/+/188737
Reviewed-by: Rob Pike <r@golang.org>
src/errors/errors.go
src/errors/wrap.go