MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SaveErrors

Function SaveErrors

src/common/args.cpp:453–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453static void SaveErrors(const std::vector<std::string> errors, std::vector<std::string>* error_out)
454{
455 for (const auto& error : errors) {
456 if (error_out) {
457 error_out->emplace_back(error);
458 } else {
459 LogWarning("%s", error);
460 }
461 }
462}
463
464bool ArgsManager::ReadSettingsFile(std::vector<std::string>* errors)
465{

Callers 2

ReadSettingsFileMethod · 0.85
WriteSettingsFileMethod · 0.85

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected