Skip to content

how to throw an error from JSClosure? #363

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

Open
tayloraswift opened this issue Jun 5, 2025 · 1 comment
Open

how to throw an error from JSClosure? #363

tayloraswift opened this issue Jun 5, 2025 · 1 comment

Comments

@tayloraswift
Copy link

i would like to be able to create a JSClosure that can throw a JSError when called from JavaScript. is this possible?

@kateinoigakukun
Copy link
Member

kateinoigakukun commented Jun 6, 2025

We don't have API to do that now but I have a plan to add it

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

2 participants