CardExpiry.error constructor

CardExpiry.error(
  1. ValidationFailure failure
)

Implementation

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