common error handling problem - a PFC issue?
| From: | Matthias Nothhaft | Date: | Mon, 28 Jul 2003 00:47:57 +0000 |
| Subject: | common error handling problem - a PFC issue? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-18819@lists.php.net to get a copy of this message | ||
Hello to all PEAR-Devs,
is there a chance to get numeric error codes
in all your packages and all your error returns?
The error handling of PEAR is a very nice one.
But in my projects I need errors that can be
processed by my php-scripts.
In my Code I can not handle error messages like
'file not found' or 'db connection failed' !
How are you using such error messages?
What do you do with them?
I do not think that it is a good way to
display such error messages!
That is not very user friendly...
At least not in professional projects!
So it would really be great to have numeric error
codes in each pear error.
That helps extremely to make sure that
an application runs in a well controlled way!
Did I miss a discussion about that problem?
I specially think this must be a need for the PFC !!!
regards
Matthias