JSRuntime.ThrowError method
C#
public virtual napi_status ThrowError(napi_env env, string? code, string msg)
See Also
- enum napi_status
- struct napi_env
- class JSRuntime
- namespace Microsoft.JavaScript.NodeApi.Runtime