| 58 | } |
| 59 | |
| 60 | static 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 | |
| 64 | static 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()); |
no test coverage detected