[DCOM-105] Common base exception class Created: 27/Aug/12 Updated: 21/Feb/13 Resolved: 21/Feb/13
Per our discussion on IRC/Twitter.
It would be nice if all exceptions thrown had a common base, so something like this is possible to catch all exceptions from Doctrine:
(The name is just an example.)
|Comment by Christophe Coevoet [ 27/Aug/12 ]|
Instead of a base class (which forbids extending the SPL exception), I would go the same way than Symfony2 and ZF: using an interface.
|Comment by Till [ 27/Aug/12 ]|
That's basically what the PEAR2 RFC is doing.
|Comment by Marco Pivetta [ 21/Feb/13 ]|
Duplicate of DCOM-80