import { DaffCartDriverErrorMap } from '@daffodil/cart/driver'
A mapping from error codes to error class constructors.
const DaffCartDriverErrorMap: { DAFF_CART_NOT_FOUND: typeof DaffCartNotFoundError; DAFF_PRODUCT_OUT_OF_STOCK: typeof DaffProductOutOfStockError; DAFF_PRODUCT_INSUFFICIENT_STOCK: typeof DaffProductInsufficientStockError; ... 7 more ...; DAFF_UNAUTHORIZED_FOR_CART: typeof DaffUnauthorizedForCartError; }