#pragma once #include "EpistmoolServer/Protocol/Version.hpp" #include #include namespace Epistmool::Server { struct ProtocolError { QVersionNumber since; QLatin1String name; }; namespace ProtocolErrors { const ProtocolError kUnsupportedVersion{ .since = ProtocolVersions::v0_1, .name = QLatin1String("unsupportedVersion"), }; } } // namespace Epistmool::Server