Searched refs:ErrorCodeToMsg (Results 1 – 6 of 6) sorted by relevance
23 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg { variable39 auto iter = ErrorCodeToMsg.find(errCode); in NapiThrow()40 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in NapiThrow()
69 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg;
24 static const std::map<ExceptionErrorCode, std::string> ErrorCodeToMsg { variable345 auto iter = ErrorCodeToMsg.find(errorCode); in CreateBusinessError()346 std::string strMsg = (iter != ErrorCodeToMsg.end() ? iter->second : "") + " "+ errorMessage; in CreateBusinessError()
27 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()
56 static const std::map<ExceptionErrorCode, std::string> ErrorCodeToMsg { variable500 auto iter = ErrorCodeToMsg.find(errorCode); in CreateBusinessError()501 std::string strMsg = (iter != ErrorCodeToMsg.end() ? iter->second : "") + " "+ errorMessage; in CreateBusinessError()
55 static const std::unordered_map<int32_t, std::string> ErrorCodeToMsg { variable325 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()