Re: Re: PEAR's Error Handling and PHP5
| From: | Martin Jansen | Date: | Fri, 09 Jun 2006 15:34:41 +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-42889@lists.php.net to get a copy of this message | ||
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.
- Martin