DEV Community

Discussion on: Type-Safe Error Handling In TypeScript

Collapse
 
rugk profile image
rugk

This seems strongly inspired by Rust's type system. There, such a thing is built-in. It's Results all the way there…
And yeah, the syntax is very similar… (same names even)

Collapse
 
kip13 profile image
kip

Yes, i was thinking the same when i read it