Ok, now a concrete question. I see that the `Try` ...
# arrow
s
Ok, now a concrete question. I see that the
Try
is deprecated and we are pointed to
Either
. So how should I use
Either
in the following case where I have a code calling 3rd party library which can throw runtime exceptions (I don’t care which one, just if it failed and if not I want the result) :
Copy code
Try {
   callLibraryCodeWhichCanThrowRuntimeExceptions()
}
How to idiomatically construct
Either
for such cases?