I am trying to catch the browser errors but I cant find how to do that..Is that possible?
My console is printing:
failed to load resource net::ERR_CONNECTION_RESET
I cannot find a way to catch/intercept this information. I'd tried:
<html>
<body>
...
window.onerror = function (msg, url, lineNo, columnNo, error) {...}
</body>
</html>
I would like to get as much information as possible from the error, in order to create an error report (stack trace or something like that).