Commit 62f5e815 authored by Marcel van Lohuizen's avatar Marcel van Lohuizen
Browse files

errors: add Unwrap, Is, and As

Unwrap, Is and As are as defined in proposal
Issue #29934.

Also add Opaque for enforcing an error cannot
be unwrapped.

Change-Id: I4f3feaa42e3ee7477b588164ac622ba4d5e77cad
Reviewed-on: https://go-review.googlesource.com/c/163558


Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
Reviewed-by: default avatarDamien Neil <dneil@google.com>
parent 37f84817
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment