All Classes Files Functions Variables Enumerations Enumerator Macros
handler.hpp
Go to the documentation of this file.
1 
7 #ifndef HANDLER_H
8 #define HANDLER_H
9 
10 #include <string>
11 #include "options.hpp"
12 
13 using namespace std;
14 
16 
18 {
19 public:
20  // Constructor and destructor
21  ErrorHandler(); // Default constructor
22  ErrorHandler( string, ConfigOpts::errorType ); // Constructor
23  ~ErrorHandler(); // Default destructor
24 
25  string errorFile;
27 
39 };
40 
41 #endif
string errorFile
Stores the full path and file name that caused the error.
Definition: handler.hpp:25
ConfigOpts::errorType errorData
Stores the error type code.
Definition: handler.hpp:26
The ConfigOpts class stores all config options, settings, and flags for clerk.
The ErrorHandler class stores an error as it occurs.
Definition: handler.hpp:17