Error Handling Class - Any Recommendations?
| From: | Julio Nobrega Trabalhando | Date: | Thu, 18 Apr 2002 12:53:56 +0000 |
| Subject: | Error Handling Class - Any Recommendations? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-93511@lists.php.net to get a copy of this message | ||
Anyone recommend a good one? I am in need of the following features:
1) Catch any type of errors,
2) Actions like: Show on the screen, log on a file or database, or email,
3) Different actions for each error level/warning type, etc..
I have searched Hotscripts, but only found classes to control server
errors, like 404 or 503. On Sourceforge, no projects with files, and Google
returns me thousands of unrelated pages and I couldn't filter the results
until they were satisfactory ;-)
I understand PEAR has somekind of error control, and it's my current DB
Abstraction Layer's choice. If there's a way to keep using PEAR to handle
other errors, I would be very glad if someone could point me to any tutorial
or documentation about how to do so,
Thanks,
--
Julio Nobrega.