Re: Auth.php issues continued.....
| From: | Bruno Pedro | Date: | Thu, 10 Jul 2003 12:48:16 +0000 |
| Subject: | Re: Auth.php issues continued..... | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18133@lists.php.net to get a copy of this message | ||
On Thu, 2003-07-10 at 07:55, Yavor Shahpasov wrote:
> I believe changing the error message is a good thing, I'll do it as soon as
> an issue with my account is resolved.
I was using Auth_DB and I tested it against common errors: non-existent
database, duplicate records, etc.
What I didn't like was the way errors are being handled. In addUser(),
for example, there's being raised a PEAR_ERROR_DIE error.
I think the script shouldn't die() right away but instead let give a
chance for the programmer toprint out an error message.
What's your opinion?
--
Bruno Pedro
PTM.com
Get my public key here:
http://search.keyserver.net:11371/pks/lookup?op=get&search=0x9FEECDC8
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc