MappingDegradation

sealed class MappingDegradation

A reported-but-absorbed mapping event. Report rule: every event that loses data or stems from breakage is reported; declared-absence flows (null→null pass-through, absent→default, sanctioned null) are silent.

Inheritors

Types

Link copied to clipboard
class AbsorbedConversionError(val path: String, val from: String, val to: String, val cause: Throwable) : MappingDegradation

A broken value absorbed into null/default at a nullable or defaulted landing site.

Link copied to clipboard

Two distinct source elements converged to one target element in a Set.

Link copied to clipboard

A broken element dropped from a collection (skip rung of the element ladder).

Link copied to clipboard

A null source element dropped from a non-null-element collection (free filterNotNull).

Link copied to clipboard
class DuplicateKey(val path: String, val key: String) : MappingDegradation

Two source keys converged on the same target key; last write wins.

Properties

Link copied to clipboard
abstract val path: String

Field path from the mapping root, e.g. "items3" or "prices\"usd\"".