アクションで getErrorFlashMessage メソッドをオーバーライドしたいのですが、クラス 'TYPO3\Flow\Error\Message' が見つかりませんというエラー メッセージが表示されます。
/**
* @return \TYPO3\Flow\Error\Message
*/
protected function getErrorFlashMessage() {
switch ($this->actionMethodName) {
case 'createAction' :
return new \TYPO3\Flow\Error\Message(\TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('tx_myext_domain_model_test.createError', 'myext' ));
default:
return parent::getErrorFlashMessage();
}
}