aboutsummaryrefslogtreecommitdiff
path: root/doc/next/6-stdlib/99-minor/net/63116.md
blob: 89ec4b1e0703ef6d0c8d02f67d158b9f06ec54c2 (plain)
1
2
3
The [DNSError] type now wraps errors caused by timeouts or cancelation.
For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
will now report whether a DNS error was caused by a timeout.