GitHub

DaffInvalidEmailError

Error

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

An error thrown when the email is not in the correct format.

class DaffInvalidEmailError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCartDriverErrorCodes.INVALID_EMAIL
  __proto__: Error
  recoverable: boolean = false
  name: string
  message: string
  stack: string
}