commit | a4c4d26fe64a5fff94733da2976748794e47f772 | [log] [tgz] |
---|---|---|
author | Mitchell Kember <mkember@google.com> | Thu Sep 14 15:23:19 2023 -0700 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 15 06:39:21 2023 +0000 |
tree | e155585ef3e83ac2702902c5e648439d8371b64d | |
parent | ae86e92e4a96a51b1de243443c4fbe744f8c7740 [diff] |
[fidl] Add Unwrap to error types This CL implements Unwrap() for the helper types valueError and expectError so that the Go errors package (errors.Is, errors.As, etc.) can access the inner error. Change-Id: I935f178fd5b734d443fe90f865609fb51a2e551d Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/917075 Reviewed-by: Ian McKellar <ianloic@google.com> Fuchsia-Auto-Submit: Mitchell Kember <mkember@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.