GitHub

DaffCartNotFoundOrCreatedResolutionError

import { DaffCartNotFoundOrCreatedResolutionError } from '@daffodil/cart'

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

class DaffCartNotFoundOrCreatedResolutionError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCartErrorCodes.CART_NOT_FOUND_OR_CREATED_RESOLUTION
}

Properties

code
string
DefaultDaffCartErrorCodes.CART_NOT_FOUND_OR_CREATED_RESOLUTION
Description

A string that uniquely identifies the error.