Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Zend Framework 2 (ZF2) 中,我可以在控制器中抛出异常,并通过dispatch.error从 Module 类中将侦听器附加到事件管理器来进行捕获。
dispatch.error
有没有办法 从视图助手捕获布局(phtml)抛出的异常?