Collect prompt validation errors on generator

This allows to assert validation results for mocked prompt answers.