CardNumber.error constructor

CardNumber.error(
  1. ValidationFailure failure
)

Implementation

factory CardNumber.error(ValidationFailure failure) =>
    CardNumber._(Left(failure));