Re:Away from Exceptions: Errors as Values
by jamincan on Monday August 30, 2021 @07:45AM
(#28354663)
I think part of the problem is that Typescript doesn't have support for error-as-value baked into the language and pervasive in the ecosystem, so adopting that style isn't as ergonomic as it would be in a language that does. The equivalent in Rust would be far more clear and concise due to the ? operator and Result-types being ubiquitous.
[ Parent
| on HN ]
There are no comments on this comment yet.