Enum UnmatchedLineHandling

Namespace
Wolfgang.Etl.FixedWidth.Enums
Assembly
Wolfgang.Etl.FixedWidth.dll

Controls what a FixedWidthMultiRecordExtractor does with a data line that no registered When predicate matches and for which no Otherwise fallback record type has been registered (#19).

public enum UnmatchedLineHandling

Fields

Skip = 1

Silently skip the unmatched line and continue. The line does not produce a record and is counted toward the filtered-line total rather than the extracted or skipped budgets.

ThrowException = 0

Throw a InvalidDataException for the first unmatched line. This is the default — an unroutable line usually signals a layout the caller did not anticipate, and failing fast surfaces it.