]> Cypherpunks repositories - gostls13.git/commit
errors: document Is and As methods
authorJonathan Amsterdam <jba@google.com>
Thu, 22 Aug 2019 16:29:29 +0000 (12:29 -0400)
committerJonathan Amsterdam <jba@google.com>
Tue, 27 Aug 2019 16:51:42 +0000 (16:51 +0000)
commitfc4663d56f2ac550c0deca6ed0261d894be49465
tree8ac032955b0ac2023f982418e9da5a68e2cf4798
parent95c3c43072a3d613429ff5eb80b5fcf212dd9998
errors: document Is and As methods

Add brief descriptions of why one might implement
an Is or As method.

Fixes #33364.

Change-Id: I81a091bf564c654ddb9ef3997e780451a01efb7a
Reviewed-on: https://go-review.googlesource.com/c/go/+/191338
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/errors/wrap.go