public function init() { parent::init(); Yii::app()->errorHandler->errorAction = $this->actionError(); }