Home > widget-integration > CartErrorType
CartErrorType enum
Cart error types for categorization and handling
Used to categorize cart errors for logging, analytics, and customized error handling by Technical Support teams.
Signature:
export declare enum CartErrorType
Enumeration Members
|
Member |
Value |
Description |
|---|---|---|
|
ADD_TO_CART_EXCEPTION |
|
Exception thrown during add to cart operation |
|
ADD_TO_CART_FAILED |
|
Failed to add item to cart (API error, network error) |
|
INVALID_QUANTITY |
|
Invalid quantity specified |
|
INVENTORY_UNAVAILABLE |
|
Product inventory unavailable |
|
TIMEOUT |
|
Cart operation timeout |
|
UNKNOWN |
|
Unknown error |
|
VALIDATION_FAILED |
|
Cart item validation failed |