Tag Archives: exception

Zend Framework 2 : Manage Exceptions and Error Page

Step 1 : Please create folder “logs” : go/to/yourapp/data/ and give write permission Step 2 : Visit go/to/yourapp/module/Applcation/Module.php Attach event “MvcEvent::EVENT_DISPATCH_ERROR”

Step 3: get Zend Logger instance

Step 4 : Redirect to error page on catching any error

–>