Thursday, 19 September 2013

ZF2 How do i hide message error after wrong routes

ZF2 How do i hide message error after wrong routes

I want to return a 404 error after a wrong route instead of de php Fatal
Error long message.
Fatal error: Uncaught exception 'Zend\View\Exception\RuntimeException'
with message 'No RouteMatch instance provided' i
How can i do it?

No comments:

Post a Comment