blob: d847a5545ed09e12fbca9e70a5295b1dfac901e6 (
plain)
1
2
3
|
The [`DNSError`](/pkg/net#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.
|