Home
last modified time | relevance | path

Searched refs:ErrorCodeToMsg (Results 1 – 6 of 6) sorted by relevance

/base/global/i18n/interfaces/js/kits/src/
Derror_util.cpp23 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg { variable
39 auto iter = ErrorCodeToMsg.find(errCode); in NapiThrow()
40 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in NapiThrow()
/base/global/resource_management/interfaces/js/innerkits/core/include/
Dresource_manager_napi_utils.h69 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg;
/base/request/request/frameworks/js/napi/src/upload/
Djs_util.cpp24 static const std::map<ExceptionErrorCode, std::string> ErrorCodeToMsg { variable
345 auto iter = ErrorCodeToMsg.find(errorCode); in CreateBusinessError()
346 std::string strMsg = (iter != ErrorCodeToMsg.end() ? iter->second : "") + " "+ errorMessage; in CreateBusinessError()
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_utils.cpp27 const std::unordered_map<int32_t, std::string> ResourceManagerNapiUtils::ErrorCodeToMsg {
142 auto iter = ResourceManagerNapiUtils::ErrorCodeToMsg.find(errCode); in FindErrMsg()
143 std::string errMsg = iter != ResourceManagerNapiUtils::ErrorCodeToMsg.end() ? iter->second : ""; in FindErrMsg()
/base/request/request/frameworks/js/napi/src/
Dnapi_utils.cpp56 static const std::map<ExceptionErrorCode, std::string> ErrorCodeToMsg { variable
500 auto iter = ErrorCodeToMsg.find(errorCode); in CreateBusinessError()
501 std::string strMsg = (iter != ErrorCodeToMsg.end() ? iter->second : "") + " "+ errorMessage; in CreateBusinessError()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
Dnapi_common_event.cpp55 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg { variable
325 auto iter = ErrorCodeToMsg.find(errorCode); in GetCallbackErrorValue()
326 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in GetCallbackErrorValue()
3565 auto iter = ErrorCodeToMsg.find(errCode); in NapiThrow()
3566 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in NapiThrow()