The ErrorHandler class stores an error as it occurs. More...
#include <handler.hpp>
Public Member Functions | |
| ErrorHandler () | |
| Default constructor. More... | |
| ErrorHandler (string, ConfigOpts::errorType) | |
| Standard constructor. More... | |
| ~ErrorHandler () | |
| Default destructor. More... | |
Public Attributes | |
| string | errorFile |
| Stores the full path and file name that caused the error. More... | |
| ConfigOpts::errorType | errorData |
| Stores the error type code. More... | |
The ErrorHandler class stores an error as it occurs.
Definition at line 17 of file handler.hpp.
| ErrorHandler::ErrorHandler | ( | ) |
Default constructor.
Definition at line 14 of file handler.cpp.
| ErrorHandler::ErrorHandler | ( | string | errStr, |
| ConfigOpts::errorType | errInt | ||
| ) |
Standard constructor.
| errStr | - the full path and filename that caused the error. |
| errInt | - the type of error (WTF?) |
Definition at line 21 of file handler.cpp.
| ErrorHandler::~ErrorHandler | ( | ) |
Default destructor.
Definition at line 31 of file handler.cpp.
| ErrorHandler::errorData |
Stores the error type code.
SeasonEpisodeError - A Season or Episode pattern match failure occured ShowNameMatchError - A Show name match failure occured DuplicateEpisodeError - A duplicate Episode failure occured SortFailureError - A sort failure occured NoError - No errors occured
Definition at line 26 of file handler.hpp.
| string ErrorHandler::errorFile |
Stores the full path and file name that caused the error.
Definition at line 25 of file handler.hpp.
1.8.6