GitHub

DaffInvalidEmailError

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
}