fix: Better description for InvalidProtocolException

fixes: #8830
This commit is contained in:
sithlord48
2025-08-07 18:37:18 -04:00
committed by Nick Bolton
parent 85d89f9846
commit 6840e1e7eb

View File

@ -24,7 +24,9 @@ std::string BadClientException::getWhat() const throw()
std::string InvalidProtocolException::getWhat() const throw()
{
return "InvalidProtocolException";
return "InvalidProtocolException; Check the options section of the server "
"configuration file has a valid protocol defined.\nProtocol must be barrier (default) or synergy."
"\n Ex:\nsection: options\n\tprotocol = barrier\nend\n";
}
//