protected function updateErrorInformation(
        \ArrayObject $renderInformation
    ) {
        $modelError = $renderInformation->offsetGet('modelError');

        if (null === $modelError) {
            return;
        }

        $error = [];
        foreach (\array_keys($modelError) as $modelId) {
            $error[] = \sprintf(
                '<strong><a href="%s#pal_%s">%s</a></strong>',
                Environment::get('request'),
                \str_replace('::', '____', $modelId),
                $modelId
            );

            foreach ($modelError[$modelId] as $modelIdErrors) {
                foreach ($modelIdErrors as $modelIdError) {
                    $error[] = $modelIdError;
                }
            }

            if (\count($modelError) > 1) {
                $error[] = '';
            }
        }

        $renderInformation->offsetSet('error', \array_merge($renderInformation->offsetGet('error'), $error));
    }