I've built a 404 error page on the default module of a multi-module application.
Now, whenever I want to show the 404 page, I'm trying to forward to this controller/action on the default module but without success.
This is my code:
$this->dispatcher->forward(array(
'namespace' => '\Multiple\Home\Controllers',
'controller' => 'error',
'action' => 'notfound'
));
I returns the following error:
Multiple\Phrases\Controllers\ErrorController handler class cannot be loaded
What am I doing wrong?