18 #ifndef __ERROR_HANDLER_H__ 19 #define __ERROR_HANDLER_H__ just return failure on the error
exit the program on the error
Class that controls the handling of errors.
ErrorHandler()
Constructor.
throw an exception for the error
HandlingType
This specifies how this class should respond to errors.
~ErrorHandler()
Destructor.
static void handleError(const char *message, HandlingType handlingType=EXCEPTION)
Handle an error based on the error handling type.