GitHub

DaffCartServerSideResolutionError

import { DaffCartServerSideResolutionError } from '@daffodil/cart'

An error thrown when the cart fails to resolve. This happens when the app is running in a server environment. This is normal and expected in SSR.

class DaffCartServerSideResolutionError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCartErrorCodes.CART_SERVER_SIDE_RESOLUTION
}

Properties

code
string
DefaultDaffCartErrorCodes.CART_SERVER_SIDE_RESOLUTION
Description

A string that uniquely identifies the error.