Reputation: 80425
MDN states the following:
some/many
error
events do not triggerwindow.onerror
, you have to listen for them specifically
That's great, but which ones do not invoke onerror
?
Upvotes: 10
Views: 4112
Reputation: 13967
It looks like quirksmode has a good detail of what errors it will and will not catch: http://www.quirksmode.org/dom/events/error.html
If it helps, any error that you specifically throw
will be caught.
Upvotes: 5