45 std::unordered_map<std::string, LoggingConfig>& logging_configs,
46 std::unordered_map<std::string, ClientConfig>& client_configs,
47 std::unordered_map<std::string, ServerConfig>& server_configs) {
48 if (
const auto logging_node = root_table.at_path(
"logging")) {
49 const auto* logging_table = logging_node.as_table();
50 if (logging_table ==
nullptr) {
52 "\"logging\" must be a table of tables.");
57 if (
const auto client_node = root_table.at_path(
"client")) {
58 const auto* client_table = client_node.as_table();
59 if (client_table ==
nullptr) {
61 "\"client\" must be a table of tables.");
66 if (
const auto server_node = root_table.at_path(
"server")) {
67 const auto* server_table = server_node.as_table();
68 if (server_table ==
nullptr) {
70 "\"server\" must be a table of tables.");