node/test/js-native-api/test_error
Idan Attias 4265f2769b src,doc: add SyntaxError napi support
Add `napi_create_syntax_error` and `napi_throw_syntax_error`.

Fixes: https://github.com/nodejs/node-addon-api/issues/1099

PR-URL: https://github.com/nodejs/node/pull/40736
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2021-11-16 16:30:45 -05:00
..
binding.gyp
test_error.c src,doc: add SyntaxError napi support 2021-11-16 16:30:45 -05:00
test.js src,doc: add SyntaxError napi support 2021-11-16 16:30:45 -05:00