Class ShopperContextErrorCodes

Helper class containing error codes to indicate why a Shopper Context cannot be accessed, set or modified.

Constant Summary 

ConstantDescription
ASSIGNMENT_QUALIFIERS_LIMIT_EXCEEDED: String = “ASSIGNMENT_QUALIFIERS_LIMIT_EXCEEDED”Indicates that the assignment qualifiers limit exceeded
COUPON_CODES_LIMIT_EXCEEDED: String = “COUPON_CODES_LIMIT_EXCEEDED”Indicates that the coupon codes limit exceeded
CUSTOM_QUALIFIERS_LIMIT_EXCEEDED: String = “CUSTOM_QUALIFIERS_LIMIT_EXCEEDED”Indicates that the custom qualifiers limit exceeded
FEATURE_DISABLED: String = “FEATURE_DISABLED”Indicates that the feature toggle ‘ShopperContextEnabled’ is not enabled.
INTERNAL_ERROR: String = “INTERNAL_ERROR”Indicates that an internal error occurred while setting, retrieving or deleting the shopper context
INVALID_ARGUMENT: String = “INVALID_ARGUMENT”Indicates an invalid argument was provided
INVALID_REQUEST_TYPE: String = “INVALID_REQUEST_TYPE”Indicates that the request type is invalid.
QUOTA_LIMIT_EXCEEDED: String = “QUOTA_LIMIT_EXCEEDED”Indicates that the quota limit for the shopper context has been reached.

Constructor Summary 

ConstructorDescription
ShopperContextErrorCodes()

Method Summary 

Methods inherited from class Object 

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

Constant Details 

ASSIGNMENT_QUALIFIERS_LIMIT_EXCEEDED 

ASSIGNMENT_QUALIFIERS_LIMIT_EXCEEDED: String = "ASSIGNMENT_QUALIFIERS_LIMIT_EXCEEDED"

Indicates that the assignment qualifiers limit exceeded


COUPON_CODES_LIMIT_EXCEEDED 

COUPON_CODES_LIMIT_EXCEEDED: String = "COUPON_CODES_LIMIT_EXCEEDED"

Indicates that the coupon codes limit exceeded


CUSTOM_QUALIFIERS_LIMIT_EXCEEDED 

CUSTOM_QUALIFIERS_LIMIT_EXCEEDED: String = "CUSTOM_QUALIFIERS_LIMIT_EXCEEDED"

Indicates that the custom qualifiers limit exceeded


FEATURE_DISABLED 

FEATURE_DISABLED: String = "FEATURE_DISABLED"

Indicates that the feature toggle 'ShopperContextEnabled' is not enabled.


INTERNAL_ERROR 

INTERNAL_ERROR: String = "INTERNAL_ERROR"

Indicates that an internal error occurred while setting, retrieving or deleting the shopper context


INVALID_ARGUMENT 

INVALID_ARGUMENT: String = "INVALID_ARGUMENT"

Indicates an invalid argument was provided


INVALID_REQUEST_TYPE 

INVALID_REQUEST_TYPE: String = "INVALID_REQUEST_TYPE"

Indicates that the request type is invalid. Request must be a SCAPI request, or a hybrid storefront request, or an ocapi request using a SLAS token.


QUOTA_LIMIT_EXCEEDED 

QUOTA_LIMIT_EXCEEDED: String = "QUOTA_LIMIT_EXCEEDED"

Indicates that the quota limit for the shopper context has been reached.


Constructor Details 

ShopperContextErrorCodes() 

ShopperContextErrorCodes()