GitHub

DaffUnauthorizedForCartError

import { DaffUnauthorizedForCartError } from '@daffodil/cart/driver'

An error thrown when the current user is not authorized for the requested cart.

class DaffUnauthorizedForCartError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCartDriverErrorCodes.UNAUTHORIZED_FOR_CART
}