eZ\Publish\Core\Base\Exceptions\ContentTypeFieldDefinitionValidationException::__construct PHP Method

__construct() public method

Also sets the given $fieldErrors to the internal property, retrievable by getFieldErrors()
public __construct ( array $errors )
$errors array
    public function __construct(array $errors)
    {
        $this->errors = $errors;
        $this->setMessageTemplate('ContentType FieldDefinitions did not validate');
        parent::__construct($this->getBaseTranslation());
    }
ContentTypeFieldDefinitionValidationException