PHP Classes

ErrorHandler: enhanced customizable error handler implementation

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 13,639 All time: 78 This week: 560Down
Version License Categories
errorhandler 1.0BSD LicenseDebug, Tools
Description 

Author

This class is a powerful wrapper for PHP error-reporting features. It helps when developing new scripts and monitoring sites in production state, too.

It has several enhancements (previously known as report layouts):

* SOURCE = prints the source code fragment where the error encountered,

* CONTEXT = prints variable context around error source,

* SILENT mode = suppresses error-messages

* REPLACE page = displays an arbitrary HTML or PHP page in case of error (useful in production state),

* LOGGING = log errormessages wherever you want (multiple destination also allowed),

* Autodetecting Target Logging = log target can vary from file to file automatically

* CONSOLE window = error messages will be displayed in a separate browser window not to break up your pretty page design

* Error TRAPPING = catching errors for runtime generated codes


Each report can be enabled, disabled or changed at run-time.

Picture of Gyozo Papp
Name: Gyozo Papp <contact>
Classes: 2 packages by
Country: Hungary Hungary
Age: 48
All time rank: 1202 in Hungary Hungary
Week rank: 216 Down3 in Hungary Hungary Down

  Files folder image Files (8)  
File Role Description
Plain text file ErrorHandler.inc Class class implementation
Plain text file ErrorHandler.ini Conf. the configuration .ini file
HTML file manual.html Doc. instructions how to use ErrorHandler (1.3 version - OUTDATED)
HTML file onerror.html Appl. example for REPLACE page (static HTML)
Plain text file onerror.inc Appl. example for REPLACE page (dynamic)
Accessible without login Plain text file readme.1st Lic. licence and changelog
Plain text file reference.txt Doc. description about method usage (2.0 version)
Plain text file try.php Example simple script to test and manifest ErrorHandler

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:13,639
This week:0
All time:78
This week:560Down
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:67%StarStarStarStar
Examples:73%StarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:760