MrzGenerationUnsupportedCharacters
data class MrzGenerationUnsupportedCharacters(val format: MrzFormat, val field: MrzField, val unmappedCharacters: List<UnmappedCharacter>, val observedValue: String) : MrzGenerationError
Generation error: a value has characters outside A-Z, 0-9, and < that no profile mapped.
Reported when no transliteration profile was given, or when the profile could not map every character. generate(document) reports it for text already in the document.
Since
0.1.0
Constructors
Link copied to clipboard
constructor(format: MrzFormat, field: MrzField, unmappedCharacters: List<UnmappedCharacter>, observedValue: String)
Properties
Link copied to clipboard
English text for logs: the format, the field, and the positions. It never contains the characters or the value; they are in the properties.
Link copied to clipboard
The value that failed.
Link copied to clipboard
Each character that could not be mapped, with its position in the value.
Functions
Link copied to clipboard
MrzGenerationUnsupportedCharacters: followed by description, so logs carry no document values.