zend framework2 - Change ZF2 ExceptionStrategy from Controller -


are there methods change exceptionstrategy controller within zend framework 2? need actions return jsonmodel. when exception occurs standard exceptionstrategy doesn't put excpetion info jsonmodel (the same promblem: exceptionstrategy doesn't work jsonstrategy).

i've tried no result:

$exceptionstrategy = new jsonexceptionstrategy(); $exceptionstrategy->attach($this->geteventmanager()); 

jsonexceptionstrategy - link above.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -