kittinunf / Result

The modelling for success/failure of operations in Kotlin and KMM (Kotlin Multiplatform Mobile)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`.map{}` Not Catching any exception thrown in tranform Function

Shabinder opened this issue · comments

image

I have renamed the SuspendableResult -> SuspendableEvent and catching Throwables instead of Exceptions

Why isnt this being catched and packaged into SuspendableEvent.Failure ?

image

Somehow this Works:
image

Fixed , there was some issue in my custom IMPL 🙃