Skip to content

Conversation

@andresilveirah
Copy link
Member

The SPError object

export type SPErrorName =
  | "Unknown"
  | "NoInternetConnection"
  | "LoadMessagesError"
  | "RenderingAppError"
  | "ReportActionError"
  | "ReportCustomConsentError"
  | "AndroidNoIntentFound"
  | string;

export type SPError = {
  name: SPErrorName;
  description: string;
  campaignType?: SPCampaignType;
};

Notice campaignType is optional. Not all errors cases contain that information and on Android that data is not provided by the native SDK.

@andresilveirah andresilveirah merged commit 5eaeba0 into main Sep 11, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants