Re: HTTP_Request2 heads up: cookie jar and exception hierarchy
| From: | Alexey Borzov | Date: | Fri, 25 Feb 2011 21:41:00 +0000 |
| Subject: | Re: HTTP_Request2 heads up: cookie jar and exception hierarchy | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54117@lists.php.net to get a copy of this message | ||
Hi Christian,
On 25.02.2011 22:05, Christian Weiske wrote:
Dunno, Exceptions in SPL are named that way and Exceptions in PEAR packages generally follow: http://svn.php.net/viewvc/pear/packages/Services_Amazon_S3/trunk/Services/Amazon/S3/ http://svn.php.net/viewvc/pear/packages/HTML_QuickForm2/trunk/HTML/QuickForm2/Exception.php?view=markup I committed the implementation outlined above, BTW. I'll probably do a release pretty soon, moving the package to beta.Here is a more refined idea:Why not "HTTP_Request_Exception_Message"?HTTP_Request2_Exception |- HTTP_Request2_NotImplementedException |- HTTP_Request2_LogicException |- HTTP_Request2_ConnectionException \- HTTP_Request2_MessageException