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