Hi, I'm a newbie in ZF2, I spent last two weeks, surfing the code, and lots of zf2 application modules to see the best practices, make some tests apps to fit all together.
I see that lots of modules declare empty Exception classes extending the PHP built-in ones, RuntimeException, InvalidArgumentException, etc. and creating a ExceptionInterface per module, is this a good practice? Why no reuse the already PHP built-in Exceptions? Sorry if it's a stupid question, I only want know why lot of people in different projects use this approach. Regards.
