Neos\Flow\Mvc\Controller\ActionController::getErrorFlashMessage PHP Метод

getErrorFlashMessage() защищенный Метод

A template method for displaying custom error flash messages, or to display no flash message at all on errors. Override this to customize the flash message in your action controller.
protected getErrorFlashMessage ( ) : Neos\Error\Messages\Message
Результат Neos\Error\Messages\Message The flash message or FALSE if no flash message should be set
    protected function getErrorFlashMessage()
    {
        return new Error\Error('An error occurred while trying to call %1$s->%2$s()', null, [get_class($this), $this->actionMethodName]);
    }