Re: updated docs for Error_Raise
| From: | Greg Beaver | Date: | Wed, 20 Aug 2003 22:06:23 +0000 |
| Subject: | Re: updated docs for Error_Raise | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20185@lists.php.net to get a copy of this message | ||
Hi Martin,
I have examples at http://www.chiaraquartet.net/apidoc, let me know if they need elaboration.
Greg
Martin Jansen wrote:
On Thu Aug 21, 2003 at 05:1953AM +0800, Alan Knowles wrote:I also agree. Greg: To get a better idea of that stuff, it would be cool if you provided some concrete examples for it. (Unless you haven't already done that somewhere else in the thread.)a) PEAR needs to require error codes, referenced by constant name, and not by number (PEAR::raiseError(6) is a disastrous idea)YESb) you can't require error codes to be referenced by constant name without also requiring the originating package of the error code.YESc) adding in the getPackage(), getErrorType() methods to PEAR_Error will enable complex error handling.YES..