Yeah, I think it would be useful. If you look at ...
# arrow
c
Yeah, I think it would be useful. If you look at
Result
- the new equivalent of
Try
in 1.3, it defines both
map
and
mapCatching
and the docs say -
map
Copy code
* Note, that an exception thrown by [transform] function is rethrown by this function.
 * See [mapCatching] for an alternative that encapsulates exceptions.
-
mapCatching
Copy code
* Any exception thrown by [transform] function is caught, encapsulated as a failure and returned by this function.
 * See [map] for an alternative that rethrows exceptions.