InvalidCepFormatException constructor
InvalidCepFormatException(
- String cep
Creates an InvalidCepFormatException when the provided cep
is invalid after removing formatting (must have exactly 8 digits).
Implementation
InvalidCepFormatException(this.cep)
: super(
'The CEP "$cep" is invalid. After removing formatting, it must contain exactly 8 numeric digits.',
);