5 ms·
> Deep support for an alternative to exceptions using a Failable<TResult, TError> type Is there a good library for this currently? I've been looking for one a
by dmix 4y ago
> Deep support for an alternative to exceptions using a Failable<TResult, TError> type
Is there a good library for this currently?
I've been looking for one and a Maybe library. The Maybe one I use is pretty small.
- halfmatthalfcat 4y agofp-ts (and most functional libraries) have a handy Either type just for this: https://gcanti.github.io/fp-ts/modules/Either.ts.html https://gcanti.github.io/fp-ts/modules/Either.ts.html
- dmix 4y agoThat looks perfect thank you.