Lines Matching refs:errorMsgs

255     std::string errorMsgs;  in updatePerPackageThresholds()  local
258 StringAppendF(&errorMsgs, "\tSkipping per-package threshold without package name\n"); in updatePerPackageThresholds()
263 StringAppendF(&errorMsgs, in updatePerPackageThresholds()
270 StringAppendF(&errorMsgs, "\tDuplicate threshold received for package '%s'\n", in updatePerPackageThresholds()
275 return errorMsgs.empty() ? Result<void>{} : Error() << errorMsgs; in updatePerPackageThresholds()
285 std::string errorMsgs; in updateSafeToKillPackages() local
288 StringAppendF(&errorMsgs, "\tSkipping empty safe-to-kill package name"); in updateSafeToKillPackages()
294 return errorMsgs.empty() ? Result<void>{} : Error() << errorMsgs; in updateSafeToKillPackages()
361 std::string errorMsgs; in updatePerCategoryThresholds() local
364 StringAppendF(&errorMsgs, "\tInvalid category specific thresholds: '%s'\n", in updatePerCategoryThresholds()
370 StringAppendF(&errorMsgs, "\tInvalid application category '%s'\n", in updatePerCategoryThresholds()
375 StringAppendF(&errorMsgs, "\tDuplicate threshold received for category: '%s'\n", in updatePerCategoryThresholds()
381 return errorMsgs.empty() ? Result<void>{} : Error() << errorMsgs; in updatePerCategoryThresholds()
387 std::string errorMsgs; in updateAlertThresholds() local
390 StringAppendF(&errorMsgs, "\tInvalid system-wide alert threshold: %s\n", in updateAlertThresholds()
395 StringAppendF(&errorMsgs, in updateAlertThresholds()
403 return errorMsgs.empty() ? Result<void>{} : Error() << errorMsgs; in updateAlertThresholds()
507 std::string errorMsgs; in update() local
528 StringAppendF(&errorMsgs, "\t\t%s", result.error().message().c_str()); in update()
541 StringAppendF(&errorMsgs, "%s\t\t%s", !errorMsgs.empty() ? "\n" : "", in update()
553 StringAppendF(&errorMsgs, "%s\t\t%s", !errorMsgs.empty() ? "\n" : "", in update()
564 StringAppendF(&errorMsgs, "%s\t\t%s", !errorMsgs.empty() ? "\n" : "", in update()
573 StringAppendF(&errorMsgs, "%s\t\tReceived values for non-updatable configs: [%s]", in update()
574 !errorMsgs.empty() ? "\n" : "", nonUpdatableConfigMsgs.c_str()); in update()
576 if (!errorMsgs.empty()) { in update()
577 return Error() << errorMsgs.c_str(); in update()