RE : [PEAR] Inquiry: Any interest in an ErrorHandler class?

From: Date: Tue, 16 Dec 2003 07:07:41 +0000
Subject: RE : [PEAR] Inquiry: Any interest in an ErrorHandler class?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9546@lists.php.net to get a copy of this message
Hi, You might want to have a look at Greg Beaver Error_Raise and Error_Handler at http://www.chiaraquartet.net/apidoc/ Arnaud. > 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 > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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