from Hacker News

Show HN: ts-error-tuple – Concise and type-safe error handling for TypeScript

by genshii on 2/28/25, 6:49 PM with 0 comments

Hey all, I just released v1.0.0 of my error handling library ts-error-tuple (https://github.com/adamhl8/ts-error-tuple). Now you can add arbitrary context data to your errors.

If prefer the error handling approach where errors are values, this helps you achieve that.

Let me know what you think. Thanks!