Re: DB.php -- PEAR, testers needed
| From: | Sterling Hughes | Date: | Mon, 06 Mar 2000 11:29:42 +0000 |
| Subject: | Re: DB.php -- PEAR, testers needed | ||
| References: | 1 2 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-69@lists.php.net to get a copy of this message | ||
> >
> > PS -- Stig, since most of the functions do not return error numbers, I return
> > the normal, bland DB_ERROR, is this something I should be doing?
>
> If this is the best that can be done, it's ok. But as far as possible,
> we should try adding the necessary error code functions to the database
> extensions to make sure that the error codes are accurate.
What about functions such as msql_error()? They don't return an error code, so we
can't catch the errors and return what we want? Is this a viable option anyway?
Sterling