arrow-core-data / arrow.core / kotlin.Throwable / nonFatalOrThrow
fun Throwable.nonFatalOrThrow(): Throwable
Returns the Throwable if NonFatal and throws it otherwise.
Throwable - the Throwable this if Fatal
Return
the Throwable this if NonFatal
Do you like Arrow?
✖