GitHub

DaffCartResolutionError

import { DaffCartResolutionError } from '@daffodil/cart'

An error thrown when the cart fails to resolve.

class DaffCartResolutionError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCartErrorCodes.CART_RESOLUTION
}

Properties

code
string
DefaultDaffCartErrorCodes.CART_RESOLUTION
Description

A string that uniquely identifies the error.