Neos.Media.Browser/Classes/Controller/AssetController.php
protected function errorAction(): string
    {
        foreach ($this->arguments->getValidationResults()->getFlattenedErrors() as $propertyPath => $errors) {
            foreach ($errors as $error) {
                $this->flashMessageContainer->addMessage($error);
            }
        }

        return parent::errorAction();
    }
protected function errorAction(): string
    {
        foreach ($this->arguments->getValidationResults()->getFlattenedErrors() as $propertyPath => $errors) {
            foreach ($errors as $error) {
                $this->flashMessageContainer->addMessage($error);
            }
        }

        return parent::errorAction();
    }
protected function errorAction ( ) : string { foreach ( $ this -> arguments -> getValidationResults ( ) -> getFlattenedErrors ( ) as $ propertyPath => $ errors ) { foreach ( $ errors as $ error ) { $ this -> flashMessageContainer -> addMessage ( $ error ) ; } } return parent :: errorAction ( ) ; }
This custom errorAction adds FlashMessages for validation results to give more information in the

@return string
This custom errorAction adds FlashMessages for validation results to give more information in the