zfcampus/zf-rest — pull request #52 by Maks3w (2014-12-11 14:46:00+00:00)
Title: [Discussion] Exceptions thrown by resources should trigger dispatch.error

Actually MvcEvent::EVENT_DISPATCH_ERROR does not trigger because the exception is catched and wrapped in an ApiProblem object.

This breaks the expected behavior of a ZF2 application.

I don't modified yet the tests until discuss this.