yii\console\Application::getErrorHandler PHP Method

getErrorHandler() public method

Returns the error handler component.
public getErrorHandler ( ) : yii\console\ErrorHandler
return yii\console\ErrorHandler the error handler application component.
    public function getErrorHandler()
    {
        return $this->get('errorHandler');
    }