Home
last modified time | relevance | path

Searched refs:GetErrorMsg (Results 1 - 16 of 16) sorted by relevance

/foundation/window/window_manager/previewer/mock/
H A Djs_err_utils.h74 static std::string GetErrorMsg(const WMError& errorCode) in GetErrorMsg() function in OHOS::Rosen::JsErrUtils
79 static std::string GetErrorMsg(const WmErrorCode& errorCode) in GetErrorMsg() function in OHOS::Rosen::JsErrUtils
84 static std::string GetErrorMsg(const DMError& errorCode) in GetErrorMsg() function in OHOS::Rosen::JsErrUtils
89 static std::string GetErrorMsg(const DmErrorCode& errorCode) in GetErrorMsg() function in OHOS::Rosen::JsErrUtils
/foundation/window/window_manager/interfaces/kits/napi/common/
H A Djs_err_utils.h64 static std::string GetErrorMsg(const WMError& errorCode);
65 static std::string GetErrorMsg(const WmErrorCode& errorCode);
66 static std::string GetErrorMsg(const DMError& errorCode);
67 static std::string GetErrorMsg(const DmErrorCode& errorCode);
H A Djs_err_utils.cpp215 std::string JsErrUtils::GetErrorMsg(const WMError& errorCode) in GetErrorMsg() function in OHOS::Rosen::JsErrUtils
221 std::string JsErrUtils::GetErrorMsg(const WmErrorCode& errorCode) in GetErrorMsg() function in OHOS::Rosen::JsErrUtils
227 std::string JsErrUtils::GetErrorMsg(const DMError& errorCode) in GetErrorMsg() function in OHOS::Rosen::JsErrUtils
233 std::string JsErrUtils::GetErrorMsg(const DmErrorCode& errorCode) in GetErrorMsg() function in OHOS::Rosen::JsErrUtils
243 CreateJsValue(env, msg == "" ? GetErrorMsg(errorCode) : msg), &result); in CreateJsError()
251 CreateJsValue(env, msg == "" ? GetErrorMsg(errorCode) : msg), &result); in CreateJsError()
259 CreateJsValue(env, msg == "" ? GetErrorMsg(errorCode) : msg), &result); in CreateJsError()
267 CreateJsValue(env, msg == "" ? GetErrorMsg(errorCode) : msg), &result); in CreateJsError()
/foundation/ability/ability_runtime/test/unittest/ability_business_error_test/
H A Dability_business_error_test.cpp53 std::string result = GetErrorMsg(AbilityErrorCode::ERROR_OK); in HWTEST_F()
56 result = GetErrorMsg(static_cast<AbilityErrorCode>(-1000)); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_error_utils.cpp37 napi_throw(env, CreateJsError(env, static_cast<int32_t>(err), GetErrorMsg(err))); in ThrowError()
87 return CreateJsError(env, static_cast<int32_t>(err), GetErrorMsg(err)); in CreateJsError()
106 GetNoPermissionErrorMsg(permission) : GetErrorMsg(errCode); in CreateJsErrorByNativeErr()
/foundation/ability/form_fwk/test/fuzztest/geterrormsg_fuzzer/
H A Dgeterrormsg_fuzzer.cpp37 if (FormMgr::GetInstance().GetErrorMsg(errorCode).empty()) { in DoSomethingInterestingWithMyAPI()
38 std::cout << "GetErrorMsg failed" << std::endl; in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_business_error/
H A Dability_business_error.h207 std::string GetErrorMsg(const AbilityErrorCode& errCode);
/foundation/ability/form_fwk/test/fuzztest/formmgr_fuzzer/
H A Dformmgr_fuzzer.cpp43 formMgr.GetErrorMsg(errorCode); in DoSomethingInterestingWithMyAPI()
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_loading_context.h146 const std::string& GetErrorMsg() in GetErrorMsg() function in OHOS::Ace::NG::ImageLoadingContext
/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h81 std::string GetErrorMsg(int errorCode);
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Djs_ability_context.cpp199 GetNoPermissionErrorMsg(permission) : GetErrorMsg(errCode); in CreateJsErrorByNativeErr()
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_business_error/
H A Dability_business_error.cpp238 std::string GetErrorMsg(const AbilityErrorCode& errCode) in GetErrorMsg() function
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp2000 std::string GetErrorMsg(int32_t errorCode) in GetErrorMsg() function
2064 std::string strMsg = GetErrorMsg(errorCode); in ParseCustomDialogContentCallback()
2116 std::string strMsg = GetErrorMsg(dialogId); in ParseCustomDialogIdCallback()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.cpp1544 DumpLog::GetInstance().AddDesc(std::string("LoadErrorMsg: ").append(loadingCtx_->GetErrorMsg()));
2346 json->Put("LoadErrorMsg", loadingCtx_->GetErrorMsg().c_str());
/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_mgr.cpp53 std::string FormMgr::GetErrorMsg(int errorCode) in GetErrorMsg() function in OHOS::AppExecFwk::FormMgr
/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp360 * @tc.desc: Verify GetErrorMsg
366 auto result = FormMgr::GetInstance().GetErrorMsg(errorCode); in HWTEST_F()

Completed in 24 milliseconds