Try-catch is like duct tape—works but isn’t pretty.
I’ve switched to using `fp-ts` for functional error handling. It’s a bit of a learning curve, but once you get it, parsed json errors feel way less chaotic.
For logging, I just pipe errors to a dedicated error-tracking service.
I’ve switched to using `fp-ts` for functional error handling. It’s a bit of a learning curve, but once you get it, parsed json errors feel way less chaotic.
For logging, I just pipe errors to a dedicated error-tracking service.
