You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that currently only Napi::Error have the method ThrowAsJavaScriptException, while the underlying function napi_throw accepts any kinds of value. I've managed to throw an number via napi_throw.
The text was updated successfully, but these errors were encountered:
It seems that currently only Napi::Error have the method
ThrowAsJavaScriptException
, while the underlying functionnapi_throw
accepts any kinds of value. I've managed to throw an number via napi_throw.The text was updated successfully, but these errors were encountered: