* @license LGPL, see license.txt for details * @link http://www.php-tools.net */ /** * patErrorManager class */ include( '../patErrorManager.php' ); patErrorManager::registerErrorLevel(E_USER_ERROR, 'User Error'); patErrorManager::setErrorHandling(E_ALL, 'die'); patErrorManager::raise( E_USER_ERROR, 500, 'This is an error with a custom error level.' ); ?>