MrzGenerationFieldTooShort
data class MrzGenerationFieldTooShort(val format: MrzFormat, val field: MrzField, val expectedLength: Int, val observedLength: Int, val observedValue: String) : MrzGenerationError
Generation error: a value is shorter than its fixed-width field needs in the format.
Reported for a date part shorter than 2 characters. The generator never pads such a value: a < in a date means "unknown", so padding would invent data.
Since
0.5.3
Constructors
Properties
Link copied to clipboard
English text for logs: the format, the field, and both lengths. It never contains the value; that is in observedValue.
Link copied to clipboard
Length the field needs, in characters.
Link copied to clipboard
Length of the supplied value, in characters.
Link copied to clipboard
The supplied value.
Functions
Link copied to clipboard
MrzGenerationFieldTooShort: followed by description, so logs carry no document values.