Package-level declarations
Types
Protocol error: the chip did not grant access, or did not let the reader read a file.
Content error: the chip answers but holds no eMRTD application.
Root of the errors that stop reading a document's chip.
Content error: a file the reader asked for is not on the chip (status 6A82), or the chip's own lists (EF.COM, EF.SOD) do not name it, so it was not asked for.
Input error: in the MRZ access key, the check digit of one or more fields does not match its field, so the reader sent nothing to the chip.
Content error: a file read from the chip is not built the way ICAO Doc 9303 Part 10 describes, so it cannot be turned into a typed view.
Protocol error: the secure-messaging session with the chip ended, so no further command can be sent in it (ICAO Doc 9303 Part 11, section 9.8).
Protocol error: the chip answered in a way the reader cannot use: a status word no step expects, an answer with no status word, or a file answer that cannot be put together.
Protocol error: the chip and the reader have no algorithm in common for the access protocol, so the chip cannot be opened.
Parse error: the input has a character outside A-Z, 0-9, and <.
Validation failure: a printed check digit differs from the one the SDK computes.
Validation failure: a date's numeric parts form no real calendar date, for example month 13.
Root of the errors that stop an operation: MrzParseError and MrzGenerationError.
Warning: a passport whose document code has no harmonized second letter expires on or after 1 January 2038.
Warning: the SDK could not place the expiry year in a century.
Warning: the expiry date is more than thresholdYears after referenceDate.
Warning: the expiry date is earlier than referenceDate.
Parse error: the line count and line lengths fit no supported format.
Root of the errors that stop MrzGenerator from building an MRZ.
Generation error: a value is longer than its field allows in the format.
Generation error: a value is shorter than its fixed-width field needs in the format.
Generation error: a document's sex character is not M, F, or <.
Generation error: a primary or secondary identifier contains a digit.
Generation error: a value has characters outside A-Z, 0-9, and < that no profile mapped.
Parse error: the line count or a line length does not fit the format you named.
Validation failure: the sex character is not M, F, <, or X.
Warning: the name field fills its width with no trailing <.
Root of the errors that stop MrzParser from building a document.
Warning: a TD3 personal number has content, but its check digit is <.
Warning: the sex character is X.
Warning: an issuing state or nationality code is not in the SDK's country code table.
Warning: the document type code is not in the SDK's document type table.
Root of the validation failures: the text was read, but a check did not pass.
Root of the warnings: the data is readable, but something is unusual.
Root of the errors of the connection to a chip: the platform's NFC link, not the chip protocol.
Connection error: a chip read ended while the chip had not answered: no try of the read got past the first commands, the ones before the key is used.
Connection error: the chip left the reader's field, or the link to it broke, before it answered.
Connection error: a time limit passed. limit says which one, as a fact: the limit on one command, the app's own wait for a document, or the system's limit on one NFC session.
Connection error: NFC cannot be used on this device right now, so no chip can be reached.