Re: native error handling in PEAR::DB drivers
| From: | Analysis & Solutions | Date: | Mon, 09 Jun 2003 17:27:56 +0000 |
| Subject: | Re: native error handling in PEAR::DB drivers | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17219@lists.php.net to get a copy of this message | ||
On Mon, Jun 09, 2003 at 06:57:35PM +0200, Martin Jansen wrote:
>
> We should at least try to have a consistent behaviour for most
> databases. And we'll surely find someone, who knows how to get the
> error-code or the -message for database XYZ.
I have the mappings of MySQL ones at
http://www.analysisandsolutions.com/pear/
I also obtained a raw list of error codes/text for FrontBase from the
vendor. I can email it to whomever wants. Beware, though, because there
are 3,033 error types!
The people on the PostgreSQL project use text based error messages without
constants or numbers. Ouch!!!
--Dan
--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409