net: add Unwrap to *DNSError

Fixes #63116

Change-Id: Iab8c415555ab85097be6d2d133b3349c5219a23b
GitHub-Last-Rev: 8a8177b9af
GitHub-Pull-Request: golang/go#63348
Reviewed-on: https://go-review.googlesource.com/c/go/+/532217
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Mateusz Poliwczak
2024-04-13 07:01:44 +00:00
committed by Gopher Robot
parent 37f482223f
commit 71d84ee7b4
10 changed files with 147 additions and 131 deletions

2
api/next/63116.txt Normal file
View File

@@ -0,0 +1,2 @@
pkg net, type DNSError struct, UnwrapErr error #63116
pkg net, method (*DNSError) Unwrap() error #63116