public function showErrors()
    {
        if (count($this->errors)) {
            $messages = [];
            $messages[] = GeneralUtility::makeInstance(
                FlashMessage::class,
                'There were errors. Check ke_search log for details.'. "\n",
                '',
                \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR,
                false
            );
            return $this->renderFlashMessages($messages);
        } else {
            return '';
        }
    }
public function showErrors()
    {
        if (count($this->errors)) {
            $messages = [];
            $messages[] = GeneralUtility::makeInstance(
                FlashMessage::class,
                'There were errors. Check ke_search log for details.'. "\n",
                '',
                \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR,
                false
            );
            return $this->renderFlashMessages($messages);
        } else {
            return '';
        }
    }
public function showErrors ( ) { if ( count ( $ this -> errors ) ) { $ messages = [ ] ; $ messages [ ] = GeneralUtility :: makeInstance ( FlashMessage :: class , 'There were errors. Check ke_search log for details.' . "\n" , '' , \ TYPO3 \ CMS \ Core \ Messaging \ FlashMessage :: ERROR , false ) ; return $ this -> renderFlashMessages ( $ messages ) ; } else { return '' ; } }
Prints errors which occured while indexing.

@return string
@author Christian Bülter <buelter@kennziffer.com>
@since 26.11.13
Prints errors which occured while indexing .