Re: HTTP_Request2 on pyrus - PEAR_Exception

From: Date: Sat, 12 Jun 2010 21:19:40 +0000
Subject: Re: HTTP_Request2 on pyrus - PEAR_Exception
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-53561@lists.php.net to get a copy of this message
Hi David, On 06.06.2010 17:38, David Coallier wrote:
Did you do anything in this regard? It's falling on my feet again.
I've emailed Alexey to confirm that I can commit the following patch: http://labs.echolibre.com/davidc/pear/http-request-exception.diff
I think you are putting the proverbial cart before the proverbial horse. HTTP_Request2 is "PEAR1" package, so it should follow PEAR1 standards. Therefore first step should be to update PEAR1 coding standards to allow such Exception interfaces. It's also a pity that your patch doesn't try to address the most common Exception-related feature request: possibility for different handling of various runtime errors (i.e. timeouts vs everything else) http://news.php.net/php.pear.dev/53553 http://pear.php.net/bugs/bug.php?id=16762

« previous php.pear.dev (#53561) next »