embed.on(EmbedEvent.Error, (error) => {
if (error.severity === EmbedErrorSeverity.SEV1) {
showBanner(error.message);
}
});
EmbedErrorSeverity
Table of Contents
How badly an error affects the embed, so the host can decide whether it is worth surfacing to the end user.
Mirrors the severity that ThoughtSpot itself stamps on errors raised inside the embedded app, so a host can apply one rule to both sources.
Version : SDK: 1.52.0 | ThoughtSpot Cloud: 26.9.0.cl
Only surface errors that took the embed down