All Classes Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | Public Attributes | List of all members
ErrorHandler Class Reference

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...
 

Detailed Description

The ErrorHandler class stores an error as it occurs.

Definition at line 17 of file handler.hpp.

Constructor & Destructor Documentation

ErrorHandler::ErrorHandler ( )

Default constructor.

Definition at line 14 of file handler.cpp.

ErrorHandler::ErrorHandler ( string  errStr,
ConfigOpts::errorType  errInt 
)

Standard constructor.

Parameters
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.

Member Data Documentation

ErrorHandler::errorData

Stores the error type code.

See Also
ConfigOpts::errorType
Value Reference:
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.


The documentation for this class was generated from the following files: