GitHub

DaffInvalidCountryError

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

An error thrown when the specified country is invalid for the specified address or missing where it is required.

class DaffInvalidCountryError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCartDriverErrorCodes.INVALID_COUNTRY
}