Re: error returning with PEAR::DB
| From: | Pupeno | Date: | Tue, 30 Mar 2004 20:30:14 +0000 |
| Subject: | Re: error returning with PEAR::DB | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11543@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 30 March 2004 17:03, Torsten Roehr wrote:
> The only problem I see is that you cannot check WHICH error occurred.
Well, that's the key... I catch any error to throw an unexpected error, do
some logging latter and so on... If i was to throw a "username in use" error,
then, I should be sure that it was a "username in use" error.
- --
Pupeno: pupeno@pupeno.com
http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAadjYtCepaMf3unIRAmK9AJ4qS2ggRd79loXvxrZlt64x86l0CwCfcCx0
cxz6U/JEZL8maw9Zfe3HdTg=
=3szK
-----END PGP SIGNATURE-----