Thursday, December 19, 2024

Show HN: ts-error-tuple – Golang-like error handling for TypeScript

I've been writing a lot more Golang recently, and I've come to really appreciate how it does error handling.

While many libraries exist that mimic Rust's `Result`, I haven't seen any in this style. I think this library's approach is more simple and approachable, and I've already seen benefits when using it in my other projects.

Any feedback, PRs, etc is appreciated :)


Comments URL: https://news.ycombinator.com/item?id=42464680

Points: 1

# Comments: 0



from Hacker News: Newest https://ift.tt/FIfJzMl
via IFTTT

No comments:

Post a Comment

The Untold Story of How One Guy Keeps the World Running on the Right Timezone

Article URL: https://onezero.medium.com/the-largely-untold-story-of-how-one-guy-in-california-keeps-the-worlds-computers-on-the-right-time-a...