xError 1.0

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.

License type: GPL - GNU Public License
Date added: 10 years, 6 months 6 days ago | Last updated: 10 years, 6 months 6 days ago

More popular Error Handling

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

Hot Scripts