ApraLinuxUtils
1.0.0
C++ utility library for embedded Linux systems
Loading...
Searching...
No Matches
GenericError.h
Go to the documentation of this file.
1
/*
2
* GenericError.h
3
*
4
* Copyright (c) 2024 Apra Labs
5
*
6
* This file is part of ApraUtils.
7
*
8
* Licensed under the MIT License.
9
* See LICENSE file in the project root for full license information.
10
*/
11
12
#ifndef INCLUDES_APRA_GENERICERROR_H_
13
#define INCLUDES_APRA_GENERICERROR_H_
14
#include <string>
15
#include <vector>
16
17
namespace
apra
18
{
19
20
class
GenericError
21
{
22
public
:
23
GenericError
();
24
GenericError
(std::string message);
25
GenericError
(std::string message, std::string debugMessages);
26
virtual
~GenericError
();
27
bool
isError
();
28
std::string
getMessage
();
29
std::string
getDebugMessage
();
30
protected
:
31
std::string
m_message
;
32
std::string
m_debugMessage
;
33
bool
m_isError
;
34
};
35
36
}
// namespace apra
37
38
#endif
/* INCLUDES_APRA_GENERICERROR_H_ */
apra::GenericError
Definition
GenericError.h:21
apra::GenericError::m_isError
bool m_isError
Definition
GenericError.h:33
apra::GenericError::GenericError
GenericError()
Definition
GenericError.cpp:15
apra::GenericError::m_message
std::string m_message
Definition
GenericError.h:31
apra::GenericError::getDebugMessage
std::string getDebugMessage()
Definition
GenericError.cpp:46
apra::GenericError::~GenericError
virtual ~GenericError()
Definition
GenericError.cpp:32
apra::GenericError::m_debugMessage
std::string m_debugMessage
Definition
GenericError.h:32
apra::GenericError::isError
bool isError()
Definition
GenericError.cpp:36
apra::GenericError::getMessage
std::string getMessage()
Definition
GenericError.cpp:41
apra
Definition
EventCallbacks.h:16
includes
models
GenericError.h
Generated by
1.9.8