Login   Register  
PHP Classes
elePHPant
Icontem

xError: Generic error reporting and handling class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Alexander Serbe
Name: Alexander Serbe <contact>
Classes: 3 packages by
Country: Germany Germany
Age: 40
All time rank: 69048 in Germany Germany
Week rank: 1763 Down92 in Germany Germany Down


  Detailed description   Download Download .zip .tar.gz  
xError is a generic error reporting and handling class. It may be used for debugging and/or monitoring purposes.

The basic concept is to define as many errors as needed for the application. These errors may be declared as 'fatal' or 'non-fatal' errors.

Whenever an error is encountered during the execution of the program, xError checks whether it is classified as 'fatal' or 'non-fatal'.

Fatal errors cause the immediate abortion of the program's execution. Instead of the output normally generated, an error message is displayed, describing the error that just occurred, accompanied by suggestions on how to avoid the error (if that is possible). Additionally, the error could be logged in a text file.

Non-fatal errors do not cause the running program to be aborted. The error message is merely added to the so-called error stack. The developer is free to decide where and how he wants to react to these errors. For the sake of completeness, it , has been implemented a means of displaying the non-fatal errors the same way fatal errors are displayed.

  Classes of Alexander Serbe  >  xError  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: xError
Base name: xerror
Description: Generic error reporting and handling class
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1916 users
All time rank: 1909
Week users: 0 users
Week rank: 1412 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Debug Debug data dumping, bug detection and reporting View top rated classes
Group folder image Logging Log generation and processing View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (68%) Good (87%) Sufficient (62%) Sufficient (75%) - - Not sure (56%) 1094
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.xerror.php Class Contains the class
Accessible without login Plain text file demo.php Example Short demo
Accessible without login Plain text file errors01.txt Data Error definitions (demo)
Accessible without login HTML file fatal.html Data Template to display fatal errors
Accessible without login Plain text file gpl.txt Lic. GNU General Public License
Accessible without login Plain text file gpl_de.txt Lic. GNU General Public License (German)
Accessible without login Plain text file gpl_fr.txt Lic. GNU General Public License (French)
Accessible without login HTML file non-fatal.html Data Template to display non-fatal errors
Accessible without login HTML file readme.html Doc. Readme
Accessible without login HTML file source.html Doc. The source code in HTML format

Download Download all files: xerror.tar.gz xerror.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.