Issue Type: Bug Created: 2012-06-26T13:43:13.000+0000 Last Updated: 2012-07-20T12:50:53.000+0000 Status: Resolved Fix version(s): Reporter: David Windell (outeredge) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Mvc
Related issues: Attachments:
When using the JsonStrategy to render your views and an Exception is thrown, the Exceptions' message is not visible as json_encode is unable to encode the Exception object injected into the view.
Suggestions would be to either allow assignment of a custom ExceptionStrategy via the ServiceManager, or injecting the exceptions message itself into the returned ViewModel (see line 162 of ExceptionStrategy.php).
There doesn't appear to be a way to override the default exception strategy
Posted by David Windell (outeredge) on 2012-07-20T12:49:51.000+0000
Turns out this is easy to resolve;
Attach an event to the ```
Have you found an issue?
See the Overview section for more details.