LiveUser overwrites PEAR error mode - why?
| From: | Torsten Roehr | Date: | Sat, 13 Nov 2004 16:18:10 +0000 |
| Subject: | LiveUser overwrites PEAR error mode - why? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15483@lists.php.net to get a copy of this message | ||
Hi,
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?
Regards, Torsten Roehr