wrapping

inline fun <E : Throwable, R> wrapping(asA: (String?, Throwable) -> E, block: () -> R): KmmResult<R>(source)
inline fun <E : Throwable, T, R> R.wrapping(asA: (String?, Throwable) -> E, block: R.() -> T): KmmResult<T>(source)

Deprecated

Function name was misleading

Replace with

catchingAs(asA, block)