Quick search:

PntError
PntErrorException
PntErrorHandler
PntGen
PntIdentifiedOption
PntIndex
PntObject
PntValueValidator
Template
__construct
addFakeLineToTrace
dieIfFatal
errorInErrorPage
getDefaultErrorExceptionLevel
getDefaultReportingLevel
getErrorCause
getErrorExceptionLevel
getErrorPageUrl
getLoggingLevel
getRequestData
getStringConverter
getTimeStamp
getTraces
getUserErrorCause
getUserErrorInfo
getUserErrorText
handleError
handleException
informUser
initErrorLevelMap
isDevelopment
isPhp44RefNotice
isPntFile
logError
mapErrorLevel
printDebugInfo
shouldLogException
shouldReportException
startHandling
truncateBackTrace

<?php
// Copyright (c) MetaClass Groningen, 2003-2012

// ValueValidator included by PntSite
Gen::includeClass('PntErrorException', 'pnt'); //also includes PntError

/**  Objects of this class log and handle errors using php's set_error_handler function
* @see http://www.phppeanuts.org/site/index_php/Pagina/32
* 
* This abstract superclass provides behavior for the concrete
* subclass StringConverter in the root classFolder or in the application classFolder. 
* To keep de application developers code (including localization overrides) 
* separated from the framework code override methods in the 
* concrete subclass rather then modify them here.
* @see http://www.phppeanuts.org/site/index_php/Menu/178
* @package pnt
*/
class PntErrorHandler {

	public $logFilePath;
	public $oldHandler = null;
	public $reportingLevel;
	public $errorLevelMap;
	public $hasHandledError = false;
	public $stringConverter;
	public $developmentHost = 'development';
	public $emailAddress;
//	public $debugInfoBacktrace = true; defaults to $this->isDevelopment() if not set
	public $logBacktrace = false;  

	/** @param String $logFilePath if null the error info is written to the php's system logger,
	* @see http://www.php.net/manual/en/function.error-log.php
	* You may have to call ini_set('log_errors', '1');
Copyright (c) MetaClass, 2003-2013

This code is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Click here for a copy of the license or see http://www.gnu.org/licenses/ .