Re: LiveUser overwrites PEAR error mode - why?
| From: | Torsten Roehr | Date: | Sat, 13 Nov 2004 21:31:50 +0000 |
| Subject: | Re: LiveUser overwrites PEAR error mode - why? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15485@lists.php.net to get a copy of this message | ||
"Lukas Smith" <lsmith@php.net> wrote in message
news:419639D7.9030504@php.net...
> Torsten Roehr wrote:
>
> > I've seen that LiveUser is setting its own PEAR error callback method in
the
> > constructor to repackage all PEAR errors as LIVEUSER errors. So from the
> > point of instantiating a LiveUser object all PEAR errors will be caught
by
> > LiveUser's callback method. Why is this necessary - it uses a stack for
its
> > own errors, isn't this sufficient enough?
>
> I think this is probably a rather simplistic attempt at migrading all
> the pear errors created inside LiveUser over to the ErrorStack. I am not
> sure if this is even a good interim solution. Eitherway as we are
> refactoring all internals this should soon be an issue of the past.
>
> regards,
> Lukas
Hi Lukas,
good to hear this. So I understand that as soon as you have converted all
LiveUser files/classes to ErrorStack this can be abondened. Once again a big
thanks for your urgent and helpful response!
Regards, Torsten