Inquiry: Any interest in an ErrorHandler class?

From: Date: Mon, 15 Dec 2003 23:38:38 +0000
Subject: Inquiry: Any interest in an ErrorHandler class?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9542@lists.php.net to get a copy of this message
Hi there, is anyone interested in an ErrorHandler class? I couldn't find anything like that in the PEAR repository. Possible features are: - Handling of PEAR and PHP errors all in one - Option to print errors out on screen (for debugging) or quietly email to Administrator (for real life operation) - Manages user messages (errors and notices), e.g.: "Incomplete/invalid input: - Please enter a correct name - Please enter a valid email address", "The new record set has been saved." and so on - Formatting of user messages (errors and notices) via CSS - Possibility to track and count transaction errors for easy commit/rollback checking - maybe even output buffering to catch fatal errors (haven't tried this yet) I'm using a class like that for my applications and especially the email function and user messages management are quite handy. Nearly every application has to display messages for the users. So why not combine this with the handling of the application errors. The printed/emailed application errors will contain detailed information about the error (failed SQL statement etc.). If you have questions, proposals or would like to see a demonstration, please answer to the mailing list. Thanks and best regards, Torsten Roehr

« previous php.pear.general (#9542) next »