RE: [PHP-DEV] Change to Too Few Args Exception RFC
| From: | Thomas Punt | Date: | Sat, 06 Aug 2016 11:10:23 +0000 |
| Subject: | RE: [PHP-DEV] Change to Too Few Args Exception RFC | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94882@lists.php.net to get a copy of this message | ||
Hi!
> From: me@kelunik.com>
> I don't like "ArgumentError", how about "WrongArgumentCountError"?
> Maybe
> also "WrongArgumentsError".
I'd favour simply ArgumentCountError. No need to prepend a "wrong" to theerror class
name - we can already guess it's wrong because it has resulted inan error :)
-Tom