Hello

Following is my bootstrap code
================================
$frontController = Zend_Controller_Front::getInstance();

$frontController->registerPlugin(new Zend_Controller_Plugin_ErrorHandler());
$frontController->throwExceptions(true);
try {
    $frontController->dispatch();
} catch (Exception $e) {

    echo  $e->getMessage();

}

================================

How can I display $e->getMessage() using ErrorController?

I have already created ErrorController and error.phtml in my default module.
But I am not getting how to display error messages using ErrorController.

Can anyone help me regarding this?
-- 
View this message in context: 
http://www.nabble.com/Need-help-regarding-error-handling-tp20788987p20788987.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to