Re: [PHP-DEV] Exception hierarchy: open issues

2015-03-30 Thread Marc Bennewitz
Am 30.03.2015 um 12:58 schrieb Thomas Punt: Hey, Imho TypeException may not be best name for it, as it's also thrown for non-type related error conditions, like mismatched argument count. Would SignatureException be a more apt name for these error conditions? We already have an InvalidArgume

RE: [PHP-DEV] Exception hierarchy: open issues

2015-03-30 Thread Thomas Punt
Hey, > Imho TypeException may not be best name for > it, as it's also thrown for non-type related error conditions, like > mismatched argument count. Would SignatureException be a more apt name for these error conditions? -Tom -- PHP Internals - PHP Runtime

[PHP-DEV] Exception hierarchy: open issues

2015-03-30 Thread Nikita Popov
Hi internals! There are a number of open issues with regard to the exception hierarchy for recently introduced exception, for which I would like to open a new thread: * Naming and classiness of BaseException. There's an RFC to change this to a Throwable interface: https://wiki.php.net/rfc/throwa