Re: LiveUser overwrites PEAR error mode - why?
| From: | Lukas Smith | Date: | Sat, 13 Nov 2004 16:44:07 +0000 |
| Subject: | Re: LiveUser overwrites PEAR error mode - why? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15484@lists.php.net to get a copy of this message | ||
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