Searched refs:napi_throw_error (Results 1 – 16 of 16) sorted by relevance
| /third_party/node/test/js-native-api/ |
| D | common.h | 17 napi_throw_error((env), NULL, error_message); \ 24 napi_throw_error( \
|
| /third_party/node/test/js-native-api/test_string/ |
| D | test_string.c | 214 NAPI_CALL(env, napi_throw_error(env, NULL, "Invalid argument")); in TestLargeUtf8() 227 NAPI_CALL(env, napi_throw_error(env, NULL, "Invalid argument")); in TestLargeLatin1() 242 NAPI_CALL(env, napi_throw_error(env, NULL, "Invalid argument")); in TestLargeUtf16() 260 NAPI_CALL(env, napi_throw_error(env, NULL, "Buffer overwritten")); in TestMemoryCorruption()
|
| /third_party/node/test/js-native-api/test_error/ |
| D | test_error.c | 29 NAPI_CALL(env, napi_throw_error(env, NULL, "error")); in throwError() 44 NAPI_CALL(env, napi_throw_error(env, "ERR_TEST_CODE", "Error [error]")); in throwErrorCode()
|
| /third_party/node/test/node-api/test_exception/ |
| D | test_exception.c | 6 napi_throw_error(env, NULL, "Error during Finalize")); in finalizer()
|
| /third_party/node/test/node-api/test_make_callback_recurse/ |
| D | binding.c | 24 napi_throw_error((env), in MakeCallback()
|
| /third_party/node/benchmark/napi/ref/ |
| D | addon.c | 9 napi_throw_error((env), NULL, #call " failed"); \
|
| /third_party/node/test/js-native-api/test_exception/ |
| D | test_exception.c | 79 napi_throw_error(env, NULL, "Error during Finalize")); in finalizer()
|
| /third_party/node/test/js-native-api/test_bigint/ |
| D | test_bigint.c | 137 napi_throw_error(env, NULL, "Expected status `napi_pending_exception`"); in MakeBigIntWordsThrow()
|
| /third_party/node/test/js-native-api/test_function/ |
| D | test_function.c | 157 napi_throw_error(env, "throwing exception", "throwing exception"); in TestBadReturnExceptionPending()
|
| /third_party/node/test/js-native-api/test_typedarray/ |
| D | test_typedarray.c | 69 napi_throw_error(env, NULL, in Multiply()
|
| /third_party/node/src/ |
| D | node_api.cc | 395 napi_throw_error(env, "ERR_NAPI_TSFN_GET_UNDEFINED", in CallJs() 402 napi_throw_error(env, "ERR_NAPI_TSFN_CALL_JS", in CallJs()
|
| D | js_native_api.h | 364 NAPI_EXTERN napi_status napi_throw_error(napi_env env,
|
| D | js_native_api_v8.cc | 1908 napi_status napi_throw_error(napi_env env, in napi_throw_error() function
|
| /third_party/ejdb/src/bindings/ejdb2_node/ |
| D | js_native_api.h | 364 NAPI_EXTERN napi_status napi_throw_error(napi_env env,
|
| /third_party/node/doc/api/ |
| D | n-api.md | 57 napi_throw_error(env, ...); 63 napi_throw_error(env, ...); 69 napi_throw_error(env, ...); 411 napi_throw_error((env), NULL, message); \ 1029 of a JavaScript `Error` object: [`napi_throw_error`][], 1081 #### napi_throw_error subsubsection 1088 NAPI_EXTERN napi_status napi_throw_error(napi_env env, 6114 [`napi_throw_error`]: #n_api_napi_throw_error
|
| D | util.md | 1553 napi_throw_error(env, NULL, "napi_create_external failed");
|