On 15 May 2015 at 14:38, Xinchen Hui <larue...@gmail.com> wrote:
> Hey:
>
>     as described in https://bugs.php.net/bug.php?id=69640&thanks=1
>
>     instead of fixing it by exam the error type,  I'd prefer to
> disallow initializing a engine exception from user land..


How would that work when people want to write unit/integration tests
to test the behaviour of a module when an EngineException is thrown?

If you can't create a certain type of exception, it would mean that
some code is basically untestable...which seems bad.

cheers
Dan

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to