Re: PHP5: PEAR base Exception classes
| From: | Justin Patrin | Date: | Fri, 18 Jun 2004 22:21:38 +0000 |
| Subject: | Re: PHP5: PEAR base Exception classes | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30910@lists.php.net to get a copy of this message | ||
So we have 3 options (which as I'll argue can be reduced to one flexibly):
3) Use PEAR_ErrorStack to generate a PEAR_Error, an Exception or put the error in the global stack+1 This is basically what I was saying we should do with PEAR_Error in the *huge* thread that spawned this one. It should be user and program configurable, though, so that packages can catch or isError as they please. -- paperCrane <Justin Patrin>