diff --git a/reference/yaf/yaf_dispatcher/catchexception.xml b/reference/yaf/yaf_dispatcher/catchexception.xml index 4d5b842b1c..8db0ca2912 100644 --- a/reference/yaf/yaf_dispatcher/catchexception.xml +++ b/reference/yaf/yaf_dispatcher/catchexception.xml @@ -59,7 +59,7 @@ class ErrorController extends Yaf_Controller_Abstract { * you can also call to Yaf_Request_Abstract::getException to get the * un-caught exception. */ - public function error($exception) { + public function errorAction($exception) { /* error occurs */ switch ($exception->getCode()) { case YAF_ERR_NOTFOUND_MODULE: