Re: Exception hierarchy: open issues

From: Date: Mon, 30 Mar 2015 18:34:36 +0000
Subject: Re: Exception hierarchy: open issues
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-85564@lists.php.net to get a copy of this message
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 InvalidArgumentException but this one extends LogicException extends Exception
-Tom


« previous php.internals (#85564) next »