GitHub

DaffCartStorageResolutionError

import { DaffCartStorageResolutionError } from '@daffodil/cart'

An error thrown when the cart fails to resolve. This happens when loading the cart ID from storage throws an exception.

class DaffCartStorageResolutionError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCartErrorCodes.CART_STORAGE_RESOLUTION
}

Properties

code
string
DefaultDaffCartErrorCodes.CART_STORAGE_RESOLUTION
Description

A string that uniquely identifies the error.