TryYourSizeError
Every error the SDK throws or emits: a stable type and code to branch on, a message, and a link to its explanation.
class TryYourSizeError extends ErrorProperties
Section titled “Properties”typeErrorTypeRequired"integration_error" (fix your code) or "load_error" (network, CSP).
codeErrorCodeRequiredA stable code. All codes: Web SDK errors.
docUrlstringRequiredLink to the code's explanation.
Example
Section titled “Example”try { TryYourSize(key);} catch (e) { if (e instanceof TryYourSizeError && e.code === "invalid_key") showConfigError();}Was this page helpful?
Thank you. We read every answer.