Lines Matching defs:errInfo

538     std::string& errInfo, bool internal, const char* relativePath)
541 errInfo = "load native module failed. moduleName is nullptr";
542 HILOG_ERROR("%{public}s", errInfo.c_str());
547 errInfo = "load native module failed. relativePath is nullptr";
548 HILOG_ERROR("%{public}s", errInfo.c_str());
558 errInfo = "module " + std::string(moduleName) + " is in blocklist, loading prohibited";
559 HILOG_ERROR("%{public}s", errInfo.c_str());
591 errInfo = "failed to get native file path of module " + std::string(moduleName);
592 HILOG_WARN("%{public}s", errInfo.c_str());
609 errInfo = "failed to get native file path of module " + std::string(moduleName);
610 HILOG_WARN("%{public}s", errInfo.c_str());
643 errInfo, nativeModulePath, cacheNativeModule);
647 errInfo, nativeModulePath, cacheNativeModule);
864 const char* pathKey, const bool isAppModule, std::string& errInfo, uint32_t& errReason)
867 errInfo += "load module " + moduleKey + " failed. module path is empty";
868 HILOG_ERROR("%{public}s", errInfo.c_str());
885 errInfo += "load module failed. " + std::to_string(GetLastError());
886 HILOG_WARN("%{public}s", errInfo.c_str());
899 errInfo += "load module failed. " + std::string(dlerrMsg);
915 errInfo += "load app module failed. " + std::string(dlerrMsg);
983 const char* relativePath, bool internal, const bool isAppModule, std::string& errInfo,
988 errInfo = "module " + std::string(moduleName) + " is in blocklist, loading prohibited";
989 HILOG_WARN("%{public}s", errInfo.c_str());
1004 errInfo = "First attempt: ";
1005 LIBHANDLE lib = LoadModuleLibrary(moduleKey, loadPath, path, isAppModule, errInfo, errReason0);
1007 errInfo += "\nSecond attempt: ";
1011 lib = LoadModuleLibrary(moduleKey, loadPath, path, isAppModule, errInfo, errReason1);
1013 HILOG_ERROR("%{public}s does not exist, errMsg %{public}s", nativeModulePath[0], errInfo.c_str());
1030 errInfo += "\ntry to load abc file from " + std::string(loadPath) + " failed";
1031 HILOG_ERROR("%{public}s", errInfo.c_str());
1059 errInfo = "sprintf symbol NAPI_" + moduleKey + "_GetABCCode failed";
1060 HILOG_ERROR("%{public}s", errInfo.c_str());