Stewart Stewart
11/21/2021, 9:24 PMeitherAB.handleError
I might want to handle A
with a B
under certain conditions or for certain subtypes of A
.
instead, I’d have to handleErrorWith
and have a catch-all case re-wrapping in Left.Stewart Stewart
11/21/2021, 9:25 PMrecover
and recoverWith
from cats)Stewart Stewart
11/21/2021, 9:34 PM