hey guys, is there any workaround for calling a su...
# arrow
k
hey guys, is there any workaround for calling a suspend function inside
handleError
? I’m getting
Suspension functions can be called only within coroutine body
😞
t
handleErrorWith
should be what you are looking for
k
oh, perfect! thanks a lot @than_! I’d say this is a rather surprising API usage… 🤔
I’ll actually go for
Copy code
getOrHandle
but thanks for pointing me in the right direction!
t
You are welcome