I have implemented ISchemeHandler to handle my own scheme via HttpWebRequest. Everything works fine. Up until something goes wrong... :)
Say I get a WebException during HttpWebRequest.GetResponse(). As I process the exception, I'd like to trigger ChromiumWebBrowser.LoadError event so that my error processing can follow the same path as the rest of my requests that are handled by CefSharp.
How can I generate a LoadError event when doing my own request processing? Is there something I can set on the response object?
Is there a better solution for handling requests in my scheme handler and notifying the app that a network error occured?