MCPcopy Create free account
hub / github.com/build-cpp/cmkr / throw_key_error

Function throw_key_error

src/project_parser.cpp:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static void throw_key_error(const std::string &error, const toml::key &ky, const TomlBasicValue &value) {
61 throw std::runtime_error(format_key_message("[error] " + error, ky, value));
62}
63
64static void print_key_warning(const std::string &message, const toml::key &ky, const TomlBasicValue &value) {
65 puts(format_key_message("[warning] " + message, ky, value).c_str());

Callers 3

checkMethod · 0.85
checkMethod · 0.85
ProjectMethod · 0.85

Calls 1

format_key_messageFunction · 0.85

Tested by

no test coverage detected