protected function addErrorToProperty(string $property, string $key, string $extensionName) {
    $errorMessage = LocalizationUtility::translate($key, $extensionName);
    $error        = $this->objectManager->get(Error::class, $errorMessage, time());

    $this->result->forProperty($property)->addError($error);
  }