PHP Classes
elePHPant
Icontem

Everything is exception: Throw exceptions when PHP errors occurs

Recommend this page to a friend!
  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 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 168 This week: 1All time: 7,986 This week: 860Up
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
  Performance   Level  
Name: wapmorgan is available for providing paid consulting. Contact wapmorgan .
Classes: 22 packages by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 107435 in Russian Federation Russian Federation
Week rank: 216 Up11 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 8x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file autoload.php Aux. Autoloader
Plain text file composer.json Data Composer configuration
Plain text file doc.md 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:168
This week:1
All time:7,986
This week:860Up