Re: Mail_IMAP 2.0.0 alpha 1
| From: | Bertrand Mansion | Date: | Tue, 06 Jul 2004 07:46:45 +0000 |
| Subject: | Re: Mail_IMAP 2.0.0 alpha 1 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-31617@lists.php.net to get a copy of this message | ||
Richard York wrote:
>2. I have completely rewritten the error API so that the package uses
>Pear_ErrorStack instead of PEAR, I've read on the list this is the
>successor to PEAR.php and packages should be moving toward it. I have
>very little experience with this package, is there anything about my
>PEAR_ErrorStack implementation that could be done better?
PEAR_ErrorStack is not the successor of PEAR_Error, it is just another way to do
the same thing. You don't have to use it. Personnally, I am not going to use it,
and I will also stop using PEAR_Error as it forces me to require PEAR.php. As
soon as my packages will be ported to PHP5 E_STRICT, they will use standard
exceptions and trigger_error(). In your special case, I find it a pity to break
your API just to use PEAR_ErrorStack. I was using your package before, now I am
in trouble.
Bertrand Mansion
Mamasam