Re: PEAR framework changes for PHP5
| From: | Tobias Schlitt | Date: | Thu, 29 Jan 2004 20:25:24 +0000 |
| Subject: | Re: PEAR framework changes for PHP5 | ||
| References: | 1 2 3 4 | Groups: | php.pear.core |
| Request: | Send a blank email to pear-core+get-87@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
Hi, Hi Greg!
I've got a nearly complete error stack class that can both return a PEAR_Error class and an Exception class, if desired, but uses arrays for the stack storage. It has all of the features of PEAR_Error plus extra functionality that I've been wanting like error levels and package-specific errors, so that error codes have some meaning without needing to know the number a code represents. That sounds phantastic to me. Could it be implemented as near as possible to the PEAR_Error class? I think of a switch between new and old behavior or something?Regards, Toby