I am attempting to develop a browser extension which will increase the resilience of chromium-based browsers when confronted with error conditions.
Is it possible to obtain a list of all possible errors that chromium-based browsers could encounter, and the values that chrome.webRequest.onErrorOccurred is triggered by*?
I also note that the documentation says that since the error codes are subject to change, they should not be used for processing. Given that my extension is predicated upon changing how the browser reacts to some error conditions, what are the alternatives to passing these strings?
- Some examples I have seen so far are "net::ERR_ABORTED", "net::ERR_EMPTY_RESPONSE" and "net::ERR_BLOCKED_BY_CLIENT". I am not sure if "net::ERR_INTERUPTED" is one as well.