by louthy · 10mo ago · 0 comments
The only time we should throw (or even pass around) exceptions is if there isn't a slot in the co-domain to inject a value in to.
[0] https://louthy.github.io/language-ext/LanguageExt.Core/Monad...
I understood what they meant, Exception is still a poor type for declarative error handling, because it’s unclear whether an event is truly exceptional.