Tealium Prism React Native
    Preparing search index...

    Variable ErrorCodeConst

    ErrorCode: {
        DATA_PARSE_ERROR: "DATA_PARSE_ERROR";
        INSTANCE_NOT_FOUND: "INSTANCE_NOT_FOUND";
        INSTANCE_SHUT_DOWN: "INSTANCE_SHUT_DOWN";
        NATIVE_MODULE_NOT_REGISTERED: "NATIVE_MODULE_NOT_REGISTERED";
        PRISM_NATIVE_ERROR: "PRISM_NATIVE_ERROR";
        TEALIUM_CANCELLED: "TEALIUM_CANCELLED";
    } = ...

    Machine-readable codes for errors raised by the wrapper or the native SDK.

    Compare TealiumError.code against these values.

    Type Declaration

    • ReadonlyDATA_PARSE_ERROR: "DATA_PARSE_ERROR"

      A JSON string that crossed the bridge could not be parsed.

    • ReadonlyINSTANCE_NOT_FOUND: "INSTANCE_NOT_FOUND"

      The native module has no instance for the given instance ID.

    • ReadonlyINSTANCE_SHUT_DOWN: "INSTANCE_SHUT_DOWN"

      The instance was shut down. Call Tealium.create to get a new instance.

    • ReadonlyNATIVE_MODULE_NOT_REGISTERED: "NATIVE_MODULE_NOT_REGISTERED"

      The native module is not available in the running app. Rebuild the native app after installing the package.

    • ReadonlyPRISM_NATIVE_ERROR: "PRISM_NATIVE_ERROR"

      The native Prism SDK reported a failure. The error message comes from the native SDK.

    • ReadonlyTEALIUM_CANCELLED: "TEALIUM_CANCELLED"

      The native operation completed without producing a result.