Re: RFC - making the Exception class abstract
| From: | Sebastian Bergmann | Date: | Thu, 18 Jun 2015 05:58:39 +0000 |
| Subject: | Re: RFC - making the Exception class abstract | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86742@lists.php.net to get a copy of this message | ||
Am 17.06.2015 um 23:30 schrieb Anthony Ferrara:
> Instead, I think we should solve the problem with education. Perhaps
> the documentation can better detail out why devs shouldn't directly
> throw exception but instead use typed exceptions...?
I remember "all hell breaking lose" when I disallowed expecting
the generic Exception in PHPUnit years ago. In the end I gave up
on education and reverted. :-(