launch on error - VeleSSemecky/Purchase GitHub Wiki

//presentation/com.veles.purchase.presentation.extensions/launchOnError

launchOnError

[androidJvm]
fun CoroutineScope.launchOnError(context: CoroutineContext = EmptyCoroutineContext, start: CoroutineStart = CoroutineStart.DEFAULT, catch: suspend CoroutineScope.(Exception) -> Unit = { }, block: suspend CoroutineScope.() -> Unit): Job

⚠️ **GitHub.com Fallback** ⚠️