Cancels the DNS proxy.
- iOS 11.0+
- macOS 10.15+
- Mac Catalyst 13.0+
An error instance containing details about the problem that the proxy provider implementation encountered.
Call this method from within the proxy provider when you need to stop the proxy due to a network error that renders the proxy no longer viable.