Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
abstracterrorcodes.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020-2024 QuasarApp.
3 * Distributed under the lgplv3 software license, see the accompanying
4 * Everyone is permitted to copy and distribute verbatim copies
5 * of this license document, but changing it is not allowed.
6*/
7
8#ifndef ABSTRACT_ERRORCODES_H
9#define ABSTRACT_ERRORCODES_H
10
11#include <QString>
12#include "heart_global.h"
13
14
15namespace QH {
16
33
65namespace ErrorCodes {
66
70using Code = unsigned char;
71
86
92
93public:
99 static QString toString(Code enumData);
100
101private:
102 AbstractErrorCodesHelper() = default;
103
104};
105
106}
107}
108
109#endif // ABSTRACT_ERRORCODES_H
The AbstractErrorCodesHelper class is helper class with static methods for translate the ErrorCodes e...
#define HEARTSHARED_EXPORT
unsigned char Code
Code This is alias for the unsigned char type.
AbstractErrorCodes
The AbstractErrorCodes enum This enum with default error codes.
@ InvalidRequest
The sender to remote nodes request is invalid. This is default value.
@ NoError
This reqest executed successful.
@ UnknownError
This is unknown error. Default value.
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13