Re: exception policy for core
| From: | Derick Rethans | Date: | Wed, 17 Oct 2007 17:38:56 +0000 |
| Subject: | Re: exception policy for core | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32834@lists.php.net to get a copy of this message | ||
On Wed, 17 Oct 2007, Lukas Kahwe Smith wrote:
> Hi,
>
> I remember that we discussed the question of exception throwing from core in
> the very early days of php 5, when the suggestion of turning all errors into
> exceptions first came up. I remember that we decided that exceptions should
> only be thrown from core on constructor errors by default. Along the lines of
> PDO, extensions could allow users to explicitly enable an exception mode.
>
> This popped up again as I picked up on IRC that the imagick extension is quite
> exception throwing happy. I do realize that this is a pecl extension, so maybe
> core rules do not apply (core<->pecl relations should also be addressed ASAP
> if you ask me).
>
> Anywas, am I remembering things correctly? Is this still our policy? If not do
> we have (want?) a policy?
In my opinion, this is still the policy that should be added to the CS.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org