is it the same functional argument as for not usin...
# rx
u
is it the same functional argument as for not using exceptions, i.e mapping them to some monad / adt?
Honestly, I don't think there is a good justification to that except the rare case when you don't want to break the stream. Most probably on UI level.
u
have we all been jake-ified with that talk?
btw how do you comunicate custom errors like ..lets say input cannot be empty string -- throw custom exception?
g
Yes, a custom exception. Could be a sealed class with different exceptions... And the consuming side remains clean, I just pick whatever I want to handle with
when
and everything else is being logged or shown as a generic error. What talk btw, do you have a link handy? simple smile
u

https://youtu.be/0IKHxjkgop4

I mean, looking at it again, .it looks like ui layer, as we said where to map, right?