convertOrElseStrict

inline fun <S : Any, T : Any> S?.convertOrElseStrict(path: String, from: String, to: String, fallback: T, convert: (S) -> T?): T

Defaulted target, OnFail.Throw: broken → rethrow typed via toMappingException (hard); absent and sanctioned null → fallback, silent. CancellationException rethrows untouched.


@JvmName(name = "convertOrElseStrictNullable")
inline fun <S : Any, T : Any> S?.convertOrElseStrict(path: String, from: String, to: String, fallback: T?, convert: (S) -> T?): T?

Nullable-default variant of convertOrElseStrict (OnFail.Throw on a nullable defaulted target): broken → rethrow typed (hard); absent and sanctioned null → the (nullable) fallback. The same erasure-clash disambiguation as convertOrElse's nullable overload (issue #20). CancellationException rethrows untouched.