Show HN: ts-error-tuple – Golang-like error handling for TypeScript (github.com)
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 :)
0 comments
[ 3.1 ms ] story [ 10.1 ms ] threadNo comments yet.