node/test/js-native-api/test_error
Ruben Bridgewater f0f26cedcc
n-api: remove code from error name
This is a first step to align the n-api errors towards errors created
in JS. The stack still has to be updated to add the error code.

PR-URL: https://github.com/nodejs/node/pull/26738
Fixes: https://github.com/nodejs/node/issues/26669
Fixes: https://github.com/nodejs/node/issues/20253
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2019-03-23 02:55:57 +01:00
..
binding.gyp test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_error.c test: partition N-API tests 2018-12-04 13:58:17 -08:00
test.js n-api: remove code from error name 2019-03-23 02:55:57 +01:00