Event that fires when an unrecoverable error occurred.
Emits
CustomEvent
of type exception with detail { code: DeckCustomErrorCode, reason: string }
where reason is an optional custom error message.
Additionally, the event will
contain the originally thrown error object of type Error | AggregateError
Event that fires when an unrecoverable error occurred.
Emits
CustomEvent of type
exceptionwith detail{ code: DeckCustomErrorCode, reason: string }wherereasonis an optional custom error message. Additionally, the event willerrorobject of typeError | AggregateErrorExample