GitHub

MagentoCartUserInputErrorType

import { MagentoCartUserInputErrorType } from '@daffodil/cart/driver/magento'

enum MagentoCartUserInputErrorType {
  PRODUCT_NOT_FOUND = MagentoCartUserInputErrorType.PRODUCT_NOT_FOUND,
  NOT_SALABLE = MagentoCartUserInputErrorType.NOT_SALABLE,
  INSUFFICIENT_STOCK = MagentoCartUserInputErrorType.INSUFFICIENT_STOCK,
  UNDEFINED = MagentoCartUserInputErrorType.UNDEFINED,
}