private void checkForSaveIsFormExists()

in src/main/java/com/epam/digital/data/platform/form/provider/service/impl/FormSchemaProviderServiceImpl.java [165:174]


  private void checkForSaveIsFormExists(boolean isExists, String schemaFormKey) {
    if (isExists) {
      throw new FormSchemaValidationException(
          String.format("The UI form scheme for the specified key '%s' is already exist.",
              schemaFormKey),
          Map.of(NAME, ValidationError.builder().path(NAME)
              .massage("The 'name' must be unique per Project.")
              .build()));
    }
  }