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
17namespace apra
18{
19
21{
22public:
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();
30protected:
31 std::string m_message;
32 std::string m_debugMessage;
34};
35
36} // namespace apra
37
38#endif /* INCLUDES_APRA_GENERICERROR_H_ */
std::string m_message
std::string getDebugMessage()
std::string m_debugMessage
std::string getMessage()