AlignmentError

A supplied alignment no longer describes the requested passage.

Inheritors

Types

Link copied to clipboard
data class WordCountMismatch(val expected: Int, val found: Int) : NarrationAlignment.AlignmentError

The passage and alignment contain different numbers of spoken words.

Link copied to clipboard
data class WordMismatch(val index: Int, val expected: String, val found: String, val expectedLine: Int, val foundLine: Int) : NarrationAlignment.AlignmentError

The word at index or its printed line differs between the passage and alignment.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?