Home
last modified time | relevance | path

Searched refs:CODE_TO_MESSAGE (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/time/time_service/framework/js/napi/common/src/
H A Dnapi_work.cpp78 …auto message = CODE_TO_MESSAGE.find(ctxt->errCode)->second + ". Error message: " + ctxt->errMessag… in AsyncEnqueue()
140 …napi_create_string_utf8(ctxt->env, CODE_TO_MESSAGE.find(jsErrorCode)->second.c_str(), NAPI_AUTO_LE… in GenerateOutput()
170 …auto message = CODE_TO_MESSAGE.find(ctxt->errCode)->second + ". Error message: " + ctxt->errMessag… in SyncEnqueue()
202 …napi_create_string_utf8(ctxt->env, CODE_TO_MESSAGE.find(jsErrorCode)->second.c_str(), NAPI_AUTO_LE… in GenerateOutputSync()
H A Dnapi_utils.cpp94 auto it = CODE_TO_MESSAGE.find(errCode); in GetErrorMessage()
95 if (it != CODE_TO_MESSAGE.end()) { in GetErrorMessage()
/ohos5.0/base/time/time_service/framework/js/napi/common/include/
H A Dnapi_utils.h119 const std::map<int32_t, std::string> CODE_TO_MESSAGE = { variable