We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
raise
throw
For throwing exceptions, we have the function raise whose name was inherited from OCaml.
I would propose to rename it to throw in v12 to align it with JS.
The text was updated successfully, but these errors were encountered:
Should be easy to change as it is just an external definition in Pervasives.
However, for compatibility we can keep both in parallel for now, then deprecate raise at some point and eventually remove it at a later time.
Sorry, something went wrong.
No branches or pull requests
For throwing exceptions, we have the function
raise
whose name was inherited from OCaml.I would propose to rename it to
throw
in v12 to align it with JS.The text was updated successfully, but these errors were encountered: