GitHub

DaffCartStorageResolutionError

Error

import { DaffCartStorageResolutionError } from '@daffodil/cart'

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

class DaffCartStorageResolutionError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCartErrorCodes.CART_STORAGE_RESOLUTION
  __proto__: Error
  recoverable: boolean = false
  name: string
  message: string
  stack: string
}

Properties

code
string
DefaultDaffCartErrorCodes.CART_STORAGE_RESOLUTION
Description

A string that uniquely identifies the error.

__proto__
Error
Default –
Description
recoverable
boolean
Defaultfalse
Description
name
string
Default –
Description
message
string
Default –
Description

Contains additional relevant information to the cause and/or solution of the error.

stack
string
Default –
Description