Hi Amaud,
The topic you cite is misleading about capturing errors.
I did a quick test using <img src="bad.jpg" onerror="console.log(event);"></img> which captures the net::ERR_FILE_NOT_FOUND
You could run the same test on the object with the error you want to capture to see if the browser is capturing the error. I suspect the error you mentioned will be captured.
Although error attributes such as error message are supposed to be available, it is unclear how to access the error object. Maybe someone else knows how to access the error object from HTML defined event listeners (as opposed to the AddEventListener method). You may need to open a problem ticket if chromium did not implement error object for HTML ONERROR.
Remember that javascript is a non-blocking language which means it cannot wait. Javascript TRY is only useful when a wait does not occur. Javascript AddEventListener method for error events and HTML ONERROR allows you to capture these errors outside javascript.
Good luck.
Jon.