Searched refs:ErrorCodeToMsg (Results 1 – 7 of 7) sorted by relevance
23 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg { variable43 auto iter = ErrorCodeToMsg.find(errCode); in NapiThrow()44 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in NapiThrow()
49 static const std::map<ExceptionErrorCode, std::string> ErrorCodeToMsg{ variable67 auto iter = ErrorCodeToMsg.find(code); in Convert2RetErr()68 std::string strMsg = (iter != ErrorCodeToMsg.end() ? iter->second : ""); in Convert2RetErr()77 auto iter = ErrorCodeToMsg.find(err.code); in Convert2RetErr()80 strMsg = (iter != ErrorCodeToMsg.end() ? iter->second : ""); in Convert2RetErr()82 strMsg = (iter != ErrorCodeToMsg.end() ? iter->second + " " : "") + err.errInfo; in Convert2RetErr()
27 static const std::map<ExceptionErrorCode, std::string> ErrorCodeToMsg{ variable346 auto iter = ErrorCodeToMsg.find(errorCode); in CreateBusinessError()347 std::string strMsg = (iter != ErrorCodeToMsg.end() ? iter->second : "") + " " + errorMessage; in CreateBusinessError()
23 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg { variable65 auto iter = ErrorCodeToMsg.find(errCode); in NapiThrow()66 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in NapiThrow()83 auto iter = ErrorCodeToMsg.find(errCode); in NapiThrow()84 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in NapiThrow()113 auto iter = ErrorCodeToMsg.find(errorCode); in GetCallbackErrorValue()114 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in GetCallbackErrorValue()
77 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg;
26 const std::unordered_map<int32_t, std::string> ResourceManagerNapiUtils::ErrorCodeToMsg {141 auto iter = ResourceManagerNapiUtils::ErrorCodeToMsg.find(errCode); in FindErrMsg()142 std::string errMsg = iter != ResourceManagerNapiUtils::ErrorCodeToMsg.end() ? iter->second : ""; in FindErrMsg()
70 static const std::map<ExceptionErrorCode, std::string> ErrorCodeToMsg{ { E_OK, E_OK_INFO }, variable660 auto iter = ErrorCodeToMsg.find(errorCode); in CreateBusinessError()661 std::string strMsg = (iter != ErrorCodeToMsg.end() ? iter->second : "") + " " + errorMessage; in CreateBusinessError()