I created several modules. And added follow options in application.ini:
resources.frontController.plugins.ErrorHandler.class = Zend_Controller_Plugin_ErrorHandler
resources.frontController.plugins.ErrorHandler.options.module = default
resources.frontController.plugins.ErrorHandler.options.controller = error
resources.frontController.plugins.ErrorHandler.options.action = error
Everything was working until I set up modules.
I added resources.modules[] = "" in application.ini to make the model work. And added boostrap for each module.
After that the default error handler doesn't work. And zend requires the modules' error handler. If I delete the option resources.modules[] = "" then it works again.
I tried to place option resources.modules[] = "" after and befor overhead options, but the result is the same.