When i want to try like as follows
Try.witchCatch(()->a()).onFail().map(()->b())..
where b() throws an exception as well, it says b with unhandled exception, who do deal in such situation? we can not call from map or flatmap function that throws an exception?
When i want to try like as follows
Try.witchCatch(()->a()).onFail().map(()->b())..
where b() throws an exception as well, it says b with unhandled exception, who do deal in such situation? we can not call from map or flatmap function that throws an exception?