Is there any way to get an exception that was caug...
# coroutines
d
Is there any way to get an exception that was caught in
produce
on the receiving end (apart from a sealed class, all I need is a Long progress value, and it's a pity to have to box/unbox them unecessarily)?
m
could you give some example code ?
If you remove the try/catch in produce, it crashes.
And on the receiving side, I have no idea why...
isn't this what you want ?