GitHub

DaffCartNotFoundOrCreatedResolutionError

An error thrown when the cart fails to resolve. This happens when the cart cannot be found and a new cart cannot be created.

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

Properties

Name Type Description
code string

A string that uniquely identifies the error.