Detecting failure in a BrowserWindow


#1

Is there a way of knowing if a BrowserWindow instance has hit a status error when making a page request from the BrowserWindow object alone?

If I create a BrowserWindow that contains a web page I have no control over, such as a page external to the Electron app, is there a way of reporting back that the page has 404’d or Electron can’t connect to it, etc, from the BrowserWindow object created for it?

I can’t see a straightforward solution to it in the docs, but I’m hoping for something comparable to loaderror events used in Cordova’s InAppBrowser plugin.

Cheers