Re: MDB - Error questions
| From: | Bertrand Mansion | Date: | Fri, 14 Jun 2002 09:32:00 +0000 |
| Subject: | Re: MDB - Error questions | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7010@lists.php.net to get a copy of this message | ||
le 14/06/02 11:01, Lukas Smith à smith@dybnet.de a écrit :
> Hi,
>
> #1 yeah MDB_Error would be correct
>
> #2 beats me :-)
> I really havent gotten PEARs Error handling all the way.
> Most of the conversion from Metabase error handling to pear error
> handling was done by Christian Dickmann, but I think he just modelled
> everything to how PEAR DB does it.
>
> A good tutorial on PEAR Error handling would be much appreciated :-)
Same here.
Looking at some pear classes, I see some returns new pear_error (ex: Auth)
and other uses raiseError from time to time. I would like to understand the
difference to fix a bug someone reported in HTML_Table. A tutorial would
help because I don't feel like using the source right now :-)
Bertrand Mansion
Mamasam