You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thoughts on (I'm thinking we could do this later since we have a lot of throw around) using a sort of DocBlock syntax with @throws? Similar to the example in this issue: microsoft/TypeScript#43528
We could also consider (at a later date, not in this PR) not using throw at all in our codebase and always returning something like Rust's Result.
Prior Art
Context: #3760 (comment)
Solution:
@throws
like this exampleResult
in RustThe text was updated successfully, but these errors were encountered: