/**
  * Generates: Content fields did not validate
  *
  * Also sets the given $fieldErrors to the internal property, retrievable by getFieldErrors()
  *
  * @param \eZ\Publish\Core\FieldType\ValidationError[] $errors
  */
 public function __construct(array $errors)
 {
     $this->errors = $errors;
     parent::__construct("ContentType FieldDefinitions did not validate");
 }
 /**
  * Generates: Content fields did not validate.
  *
  * Also sets the given $fieldErrors to the internal property, retrievable by getFieldErrors()
  *
  * @param \eZ\Publish\Core\FieldType\ValidationError[] $errors
  */
 public function __construct(array $errors)
 {
     $this->errors = $errors;
     $this->setMessageTemplate('ContentType FieldDefinitions did not validate');
     parent::__construct($this->getBaseTranslation());
 }