All Classes Files Functions Variables Enumerations Enumerator Macros
handler.cpp
Go to the documentation of this file.
1 #include "handler.hpp"
11 
13 // Default constructor
15 {};
16 
20 // Constructor
22 {
23  // Store full path and file name
24  errorFile = errStr;
25  // Store reason of error
26  errorData = errInt;
27 };
28 
30 // Default destructor
32 {};
string errorFile
Stores the full path and file name that caused the error.
Definition: handler.hpp:25
~ErrorHandler()
Default destructor.
Definition: handler.cpp:31
ConfigOpts::errorType errorData
Stores the error type code.
Definition: handler.hpp:26
The ErrorHandler class stores an error as it occurs.
ErrorHandler()
Default constructor.
Definition: handler.cpp:14