if (pos == std::string::npos)
throw ParserError(0, "Connection type is not specified. Should be either 'unix' or 'tcp'.");
if (connectionType == Config::UNIX)
if (pos == std::string::npos)
throw ParserError(0, "Connection type is not specified. Should be either 'unix' or 'tcp'.");
if (connectionType == Config::UNIX)
std::string address(value.substr(pos + 1));
pos = address.find_first_of(':', pos + 1);
if (pos == std::string::npos)
std::string address(value.substr(pos + 1));
pos = address.find_first_of(':', pos + 1);
if (pos == std::string::npos)