Location: PHPKode > scripts > Package Exception Error > package-exception-error/index.php
<?php
require_once 'class/package.exceptions.errors.php';

$oErr = new exceptionErrorHandler(true);

/**
 * OR direct call (class exceptionErrorHandler is static and can be used out of its context)
 */
//set_error_handler(array ('exceptionErrorHandler', 'errorHandler'));

$aWrong = 'bla';

try {
	sort($aWrong);
} catch(Exception $e) {
	echo $e;
}
?>
Return current item: Package Exception Error