Re: Re: PEAR's Error Handling and PHP5

From: Date: Fri, 09 Jun 2006 15:43:32 +0000
Subject: Re: Re: PEAR's Error Handling and PHP5
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42890@lists.php.net to get a copy of this message
On 6/9/06, Martin Jansen <mj@php.net> wrote:
On Thu Jun 08, 2006 at 09:1555PM +0200, Arnaud Limbourg wrote: Can we settle that with a "packages SHOULD use exceptions, if so it MUST extends PEAR_Exception" (as in RFCs). Would that be reasonnable ? I'm wondering if we should start a PEPr voting where people can state which option they prefer. So far I see the following choices:
      * Force exception usage in PHP 5 code
      * Continue PEAR_Error(Stack) exclusively
      * Encourage exceptions but allow PEAR_Error in individual cases
      * Leave it up to the maintainer
I think holding a vote on this is the best thing we can do.
I do not think we should start one. For once, pepr is not adapted to this pole, it is not a +1/-1/0 but a multiple choices. I also think it is premature to start one. I see no hurry to define strong rules now, let us the time to digest this thread and eventually come up with specific cases if required. --Pierre

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