Thanks for this! I didn’t know this library existed. I’ve used a couple of other small libraries to get rust-like error handling and patterns into my Typescript projects. But this is way more comprehensive.
I like ideas from effect, I use my custom result type all over my application as well as my custom tryCatch & promise.allSettled wrappers.
Issue comes down to you need to wrap all of your code in effect/results. Something like rust has that built in so you're not really 'jamming' it in there.
It adds a bunch of boilerplate. Still better than the mess that is exception throwing.