catchOrThrow

inline fun <T : Throwable, R> catchOrThrow(f: () -> R): Either<T, R>(source)