MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / validateAndThrow

Method validateAndThrow

lib/config/config.cc:271–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void Config::validateAndThrow()
272{
273 auto r = validate();
274 if (!r.empty())
275 {
276 std::stringstream ss;
277 ss << "invalid configuration:\n";
278 for (auto& s : r)
279 ss << s << '\n';
280 throw InapplicableOptionException(ss.str());
281 }
282}
283
284void Config::set(std::string key, std::string value)
285{

Callers 3

wtRebuildConfigurationFunction · 0.80
PrepareConfigMethod · 0.80

Calls 2

emptyMethod · 0.45

Tested by

no test coverage detected