MCPcopy Create free account
hub / github.com/ElementsProject/elements / SaveErrors

Function SaveErrors

src/util/system.cpp:526–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526static void SaveErrors(const std::vector<std::string> errors, std::vector<std::string>* error_out)
527{
528 for (const auto& error : errors) {
529 if (error_out) {
530 error_out->emplace_back(error);
531 } else {
532 LogPrintf("%s\n", error);
533 }
534 }
535}
536
537bool ArgsManager::ReadSettingsFile(std::vector<std::string>* errors)
538{

Callers 2

ReadSettingsFileMethod · 0.85
WriteSettingsFileMethod · 0.85

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected