12 ms·
I've had great success with `Either` in Typescript. For each layer in the application I created ADTs representing the possible errors and used them in `Either`s
by nesarkvechnep 5y ago
I've had great success with `Either` in Typescript. For each layer in the application I created ADTs representing the possible errors and used them in `Either`s. Each layer maps the lower layer errors to it's own.