Does `window.onerror` trap the exception too?