Searched refs:napi_throw_range_error (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/ |
H A D | napi_rpc_common.h | 48 …napi_throw_range_error(env, nullptr, "No enough capacity to write"); … 59 …napi_throw_range_error(env, nullptr, "No enough capacity to write"); … 73 …napi_throw_range_error(env, nullptr, "No enough data to read"); …
|
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-napi-about-error.md | 25 | napi_throw_error、napi_throw_type_error、napi_throw_range_error | 当在C/C++中出现了错误或异常情况时,可以使用这些函数来抛出Ar… 339 ### napi_throw_range_error subsection 351 napi_throw_range_error(env, nullptr, "napi_throw_range_error one"); 364 napi_throw_range_error(env, "napi_throw_range_error", "Expected two numbers as arguments"); 395 …hilog.error(0x0000, 'testTag', 'Test Node-API napi_throw_range_error errorCode: %{public}s, errorM… 401 …hilog.error(0x0000, 'testTag', 'Test Node-API napi_throw_range_error errorCode: %{public}s, errorM…
|
H A D | napi-data-types-interfaces.md | 432 | napi_throw_range_error | 抛出一个带文本信息的JS RangeError。 |
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-about-error.md | 25 | napi_throw_error, napi_throw_type_error, napi_throw_range_error| Throws an ArkTS error occurred i… 339 ### napi_throw_range_error subsection 351 napi_throw_range_error(env, nullptr, "napi_throw_range_error one"); 364 napi_throw_range_error(env, "napi_throw_range_error", "Expected two numbers as arguments"); 395 …hilog.error(0x0000, 'testTag', 'Test Node-API napi_throw_range_error errorCode: %{public}s, errorM… 401 …hilog.error(0x0000, 'testTag', 'Test Node-API napi_throw_range_error errorCode: %{public}s, errorM…
|
H A D | napi-data-types-interfaces.md | 415 | napi_throw_range_error | Throws a JS range error with text information.|
|
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | napi.md | 38 |FUNC|napi_throw_range_error|抛出一个带文本信息的js `RangeError`。|10| 197 ### napi_throw_range_error subsection
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | napi.md | 38 |FUNC|napi_throw_range_error|Throws a JS **RangeError** with text information.|10| 199 ### napi_throw_range_error subsection
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 2340 NAPI_EXTERN napi_status napi_throw_range_error(napi_env env, const char* code, const char* msg) in napi_throw_range_error() function 2817 napi_throw_range_error( in napi_create_dataview()
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_napi.cpp | 1180 napi_throw_range_error(env, "500", "Range error"); 7081 auto res = napi_throw_range_error(env, nullptr, nullptr);
|