RE: [PEAR] RE : [PEAR] Inquiry: Any interest in an ErrorHandler class?
| From: | Torsten Roehr | Date: | Tue, 16 Dec 2003 09:11:34 +0000 |
| Subject: | RE: [PEAR] RE : [PEAR] Inquiry: Any interest in an ErrorHandler class? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9550@lists.php.net to get a copy of this message | ||
Hi Arnaud,
thanks for the link. Obviously Greg is already trying to get his package(s)
into PEAR - so there is no need to compete with this ;)
Thanks & regards,
Torsten
>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
>