Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark all APIs that can throw JS errors with @raises #71

Open
zth opened this issue Feb 24, 2023 · 0 comments
Open

Mark all APIs that can throw JS errors with @raises #71

zth opened this issue Feb 24, 2023 · 0 comments

Comments

@zth
Copy link
Collaborator

zth commented Feb 24, 2023

Reanalyze can help us ensure we handle potential exceptions if it knows about what external APIs can throw what. https://rescript-lang.org/syntax-lookup#raises-decorator

Go through the APIs we've bound to and ensure they're all marked with @raises where appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant