GitHub

DaffCartStorageResolutionError

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

import { DaffCartStorageResolutionError } from '@daffodil/cart'
class DaffCartStorageResolutionError extends DaffInheritableError implements DaffError {
  readonly code: string
}

Properties

Name Type Description
code string

A string that uniquely identifies the error.