Neos\Flow\Security\Authentication\Controller\AbstractAuthenticationController::getErrorFlashMessage PHP Метод

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

Note: If you implement a nice redirect in the onAuthenticationFailure() method of you login controller, this message should never be displayed.
protected getErrorFlashMessage ( ) : Neos\Error\Messages\Error
Результат Neos\Error\Messages\Error The flash message
    protected function getErrorFlashMessage()
    {
        return new Error('Wrong credentials.', null, [], $this->actionMethodName);
    }