PHP Classes

Everything is exception: Throw exceptions when PHP errors occurs

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files Documentation   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-18 (11 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 162 All time: 7,694 This week: 1,134Up
Version License PHP version Categories  
errors-to-exceptions 1.0GNU General Publi...5.3PHP 5, Language
Description Author  

This class can throw exceptions when PHP errors occurs.

It registers an error handler function so it can intercept non-fatal PHP errors and warnings.

The error handler determines the type of error and throws a different type of exception object depending on the type of PHP error that occurred.

The original error handler is stored so it can be restored later if necessary.

Picture of wapmorgan
Name: wapmorgan is available for providing paid consulting. Contact wapmorgan .
Classes: 21 packages by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 122037 in Russian Federation Russian Federation
Week rank: 33 Up3 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 8x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file autoload.php Aux. Autoloader
Accessible without login Plain text file composer.json Data Composer configuration
Accessible without login Plain text file Doc. Documentation
Plain text file ErrorsToExceptionsConverter.php Class Converter. Errors to exceptions
Plain text file exceptions.php Class Exception classes
Plain text file PhpErrorException.php Class Base class for converted errors

 Version Control Unique User Downloads Download Rankings  
 0%Total:162All time:7,694
 This week:0This week:1,134Up