urlProtocol(_:didFailWithError:)
Tells the client that the load request failed due to an error.
Declaration
func urlProtocol(_ protocol: URLProtocol, didFailWithError error: any Error)Parameters
- protocol:
The URL protocol object sending the message.
- error:
The error that caused the failure of the load request.