git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328315 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xinchen Hui 2012-11-12 02:58:27 +00:00
parent 57ec267b58
commit 67a8db90d5

View file

@ -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: