/** * Called by QApplication::Initialize() to setup error and exception handling * to use the Qcodo Error/Exception handler. * @return void */ protected static function InitializeErrorHandling() { QErrorHandler::$CliMode = QApplication::$CliMode; set_error_handler('__qcodo_handle_error', error_reporting()); set_exception_handler('__qcodo_handle_exception'); }
/** * Called by QApplication::Initialize() to setup error and exception handling * to use the Qcodo Error/Exception handler. * @return void */ protected static function InitializeErrorHandling() { QErrorHandler::$CliMode = QApplication::$CliMode; set_error_handler(array('QErrorHandler', 'HandleError'), error_reporting()); set_exception_handler(array('QErrorHandler', 'HandleException')); }