PHP Classes
Icontem

Class: xError


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alexander Serbe  >  xError  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: xError Support forum
Base name: xerror
Description: Generic error reporting and handling class
Related top rated classes: ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1659 users
All time rank: 1638
Week users: 2 users
Week rank: 2440
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Alexander Serbe
Name: Alexander Serbe <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Home page: ???
Age: 35
All time rank: 532
Week rank: 1415

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

Detailed description

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.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (68.8%)
Good (87.5%)
Sufficient (62.5%)
Sufficient (75.0%)
-
-
Not sure (56.9%)
897
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file class.xerror.php Class Contains the class
Plain text file demo.php Example Short demo
Plain text file errors01.txt Data Error definitions (demo)
HTML file fatal.html Data Template to display fatal errors
Plain text file gpl.txt Lic. GNU General Public License
Plain text file gpl_de.txt Lic. GNU General Public License (German)
Plain text file gpl_fr.txt Lic. GNU General Public License (French)
HTML file non-fatal.html Data Template to display non-fatal errors
HTML file readme.html Doc. Readme
HTML file source.html Doc. The source code in HTML format
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products