translateElementError-ViewHelper does not work with TYPO3\CMS\Extbase\Error\Error
Under some circumstances an TYPO3\CMS\Extbase\Error\Error is rendered instead of an TYPO3\CMS\Extbase\Validation\Error, which is extending the Error\Error.
This is not supported. There are checks for Validation\Error to retrieve the code.
These circumstances are for example:
Non complete file uploads, e.g. to server settings and file size.
Non allowed mime type.