Failure

data class Failure(val error: MrzGenerationError, val metadata: ResultMetadata) : GenerationResult

Generation could not produce an MRZ.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(error: MrzGenerationError, metadata: ResultMetadata)

Properties

Link copied to clipboard

Why generation failed.

Link copied to clipboard
open override val metadata: ResultMetadata

The reading method and any transliteration details.

Functions

Link copied to clipboard
open override fun toString(): String

Why generation failed; never a document value.