Event that fires when an unrecoverable error occurred.
ErrorEvent of type exception with detail { error: Error, message: string }
exception
{ error: Error, message: string }
.addEventListener('exception', (event) => console.log("An unrecoverable error exception occurred. The error is", event.error)) Copy
.addEventListener('exception', (event) => console.log("An unrecoverable error exception occurred. The error is", event.error))
Event that fires when an unrecoverable error occurred.