Error and exception handling library for PHP 5.3+