Class ShopperConsentErrorCodes

Error codes for ShopperConsentException.

These error codes indicate the reason why a shopper consent operation failed.

ConstantDescription
CUSTOMER_NOT_AUTHENTICATED: String = “CUSTOMER_NOT_AUTHENTICATED”Indicates that the customer is not authenticated.
FEATURE_DISABLED: String = “FEATURE_DISABLED”Indicates that the Marketing Consent feature is not enabled.
INTERNAL_ERROR: String = “INTERNAL_ERROR”Indicates that an internal error occurred.
RETRIEVAL_ERROR: String = “RETRIEVAL_ERROR”Indicates that an error occurred while retrieving consent subscriptions.
UPDATE_ERROR: String = “UPDATE_ERROR”Indicates that an error occurred while updating consent subscriptions.

This class does not have a constructor, so you cannot create it directly.

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

CUSTOMER_NOT_AUTHENTICATED: String = "CUSTOMER_NOT_AUTHENTICATED"

Indicates that the customer is not authenticated.


FEATURE_DISABLED: String = "FEATURE_DISABLED"

Indicates that the Marketing Consent feature is not enabled.


INTERNAL_ERROR: String = "INTERNAL_ERROR"

Indicates that an internal error occurred.


RETRIEVAL_ERROR: String = "RETRIEVAL_ERROR"

Indicates that an error occurred while retrieving consent subscriptions.


UPDATE_ERROR: String = "UPDATE_ERROR"

Indicates that an error occurred while updating consent subscriptions.