3 ms·
You must choose, but there's nothing stopping you from collecting errors in the background and creating a monad. Return a maybe value and expose a way to access
by mratzloff 10y ago
You must choose, but there's nothing stopping you from collecting errors in the background and creating a monad. Return a maybe value and expose a way to access the error.
- fauigerzigerk 10y agoWhat's stopping me from doing that more often than I do is that it's too much work. Collecting errors is just part of it. You also have to make sure nothing that has side effects gets called after the first one. Without language support this is tortuous and error prone.