Searched refs:CreateErrorWithCode (Results 1 - 5 of 5) sorted by relevance
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | router_module.cpp | 36 return JSI::CreateErrorWithCode(JSI_ERR_CODE_PARAM_CHECK_FAILED, "params should only be one object."); in Replace()
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/ |
H A D | jsi_interface_tdd_test.cpp | 1108 JSIValue errRef = JSI::CreateErrorWithCode(JSI_ERR_CODE_PERMISSION_DENIED, nullptr); in JSIInterfaceTest030() 1129 JSIValue errRef = JSI::CreateErrorWithCode(0, "this is error message"); in JSIInterfaceTest031() 1153 JSIValue errRef = JSI::CreateErrorWithCode(JSI_ERR_CODE_NOT_SUPPORTED, veryLongMessage); in JSIInterfaceTest032() 1174 JSIValue errResult = JSI::CreateErrorWithCode(JSI_ERR_CODE_PARAM_CHECK_FAILED, ""); in JSIInterfaceTest033() 1195 JSIValue errRef = JSI::CreateErrorWithCode(JSI_ERR_CODE_NOT_SUPPORTED, "error info", extraData); in JSIInterfaceTest034() 1220 JSIValue errRef = JSI::CreateErrorWithCode(JSI_ERR_CODE_NOT_SUPPORTED, errMsg, extraData); in JSIInterfaceTest035() 1250 JSIValue errRef = JSI::CreateErrorWithCode(JSI_ERR_CODE_PARAM_CHECK_FAILED, errMsgContent, extraData); in JSIInterfaceTest036() 1284 JSIValue errRefToBeCheck = JSI::CreateErrorWithCode(JSI_ERR_CODE_NOT_SUPPORTED, notSupportedMsg, extraDataObject); in JSIInterfaceTest037() 1321 JSIValue errResult = JSI::CreateErrorWithCode(JSI_ERR_CODE_NOT_SUPPORTED, errorInfo, functionValue); in JSIInterfaceTest038()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/router/ |
H A D | js_page_state_machine.cpp | 189 jsRes = AS_JERRY_VALUE(JSI::CreateErrorWithCode(JSI_ERR_CODE_PARAM_CHECK_FAILED, in BindUri() 228 jsRes = AS_JERRY_VALUE(JSI::CreateErrorWithCode(ERR_CODE_URL_NOTEXIST, "route target doesn't existed.")); in BindUri()
|
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/ |
H A D | jsi.h | 769 static JSIValue CreateErrorWithCode(uint32_t errCode,
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/ |
H A D | jsi.cpp | 1174 JSIValue JSI::CreateErrorWithCode(uint32_t errCode, in CreateErrorWithCode() function in OHOS::ACELite::JSI 1179 HILOG_ERROR(HILOG_MODULE_ACE, "JSI:CreateErrorWithCode parameters invalid!"); in CreateErrorWithCode() 1184 HILOG_ERROR(HILOG_MODULE_ACE, "JSI:CreateErrorWithCode error message too long!"); in CreateErrorWithCode() 1197 HILOG_ERROR(HILOG_MODULE_ACE, "JSI:CreateErrorWithCode has not been implemented in this js engine!"); in CreateErrorWithCode()
|
Completed in 8 milliseconds