trapping exception?
| From: | Steven Haryanto | Date: | Wed, 09 May 2001 07:12:23 +0000 |
| Subject: | trapping exception? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-125@lists.php.net to get a copy of this message | ||
Is there a trick to trap PEAR_Error raised by outer function calls?
I have method a() which calls method b(). If method b() calls
raiseError, and I have set global errorHandling to PRINT, can I
suppress the error message caused by b() and just print the later
error raised by a() itself?
Steve