10Duke Scale C++ Client
Loading...
Searching...
No Matches
LicenseHeartbeatError.h
1#ifndef TENDUKE_SE_LICENSING_LICENSEHEARTBEATERROR_H
2#define TENDUKE_SE_LICENSING_LICENSEHEARTBEATERROR_H
3
4#include "../LicensingError.h"
5
6#include <utility>
7
8namespace tenduke { namespace se { namespace licensing {
9
15{
16public:
24 const std::string &errorCode,
25 const std::string &errorDescription,
26 std::string oldLeaseId
28 , oldLeaseId(std::move(oldLeaseId))
29 {}
30
31public:
33 const std::string oldLeaseId;
34};
35
36}}}
37
38#endif //TENDUKE_SE_LICENSING_LICENSEHEARTBEATERROR_H
Describes error in heartbeat at lease-level.
Definition LicenseHeartbeatError.h:15
LicenseHeartbeatError(const std::string &errorCode, const std::string &errorDescription, std::string oldLeaseId)
Constructs new instance.
Definition LicenseHeartbeatError.h:23
const std::string oldLeaseId
The lease id, which failed and this error describe.
Definition LicenseHeartbeatError.h:33
Common base for licensing operation errors (checkout, heartbeat, release).
Definition LicensingError.h:15
const std::string errorCode
Error code.
Definition LicensingError.h:31
const std::string errorDescription
Description.
Definition LicensingError.h:33
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7