JavaScriptKit icon indicating copy to clipboard operation
JavaScriptKit copied to clipboard

how to throw an error from `JSClosure`?

Open tayloraswift opened this issue 8 months ago • 1 comments

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

tayloraswift avatar Jun 05 '25 01:06 tayloraswift

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

kateinoigakukun avatar Jun 06 '25 09:06 kateinoigakukun