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

feat: add inlineThrow function #343

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: add inlineThrow function #343

wants to merge 1 commit into from

Conversation

aleclarson
Copy link
Member

Summary

The inlineThrow function can throw an error from inside an expression, while the throw keyword is limited to statements.

Related issue, if any:

For any code change,

  • Related documentation has been updated, if needed
  • Related tests have been added or updated, if needed
  • Related benchmarks have been added or updated, if needed
  • Release notes in next-minor.md or next-major.md have been added, if needed

Does this PR introduce a breaking change?

No

@aleclarson aleclarson added the new feature This PR adds a new function or extends an existing one label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature This PR adds a new function or extends an existing one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant