runCatchingSafely

inline suspend fun <T> runCatchingSafely(noinline onException: ExceptionHandler<T> = defaultSafelyExceptionHandler, noinline block: suspend CoroutineScope.() -> T): Result<T>(source)
inline suspend fun <T, R> T.runCatchingSafely(noinline onException: ExceptionHandler<R> = defaultSafelyExceptionHandler, noinline block: suspend T.() -> R): Result<R>(source)