mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
16 lines
No EOL
213 B
C++
16 lines
No EOL
213 B
C++
|
|
#include <string>
|
|
|
|
|
|
namespace gdpm{
|
|
class error{
|
|
public:
|
|
error(int code = 0, const std::string& message = ""):
|
|
m_code(code), m_message(message)
|
|
{}
|
|
|
|
private:
|
|
int m_code;
|
|
std::string m_message;
|
|
};
|
|
} |