Example #1
0
 /**
  * construcor
  */
 function CRM_Core_Error($name = 'CRM')
 {
     parent::PEAR_ErrorStack($name);
     $log =& CRM_Core_Config::getLog();
     $this->setLogger($log);
     // set up error handling for Pear Error Stack
     $this->setDefaultCallback(array($this, 'handlePES'));
 }