How should we handle exceptional scenario with this library
lahirug opened this issue · 2 comments
lahirug commented
I can see that cannot put try/finally block, how should I handle that ?
pkolaczk commented
Adding to this question. How do I handle a failed Future under await?
async {
val result = await { thisMayReturnFailedFuture }
... // if (previousFailed) doSth else doSthElse
}
Putting it into a try/catch block is not allowed :(