blob: 43bbd6285c03987e9416c369c6a8ca95e04b7aa4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "EpistmoolServer/Protocol/Version.hpp"
#include <QLatin1String>
#include <QVersionNumber>
namespace Epistmool::Server {
struct ProtocolError {
QVersionNumber since;
QLatin1String name;
};
namespace ProtocolErrors {
const ProtocolError kUnsupportedVersion{
.since = ProtocolVersions::v0_1,
.name = QLatin1String("unsupportedVersion"),
};
}
} // namespace Epistmool::Server
|