thrownewUserDataSyncError(localize({key:'incompatible',comment:['This is an error while syncing a resource that its local version is not compatible with its remote version.']},"Cannot sync {0} as its local version {1} is not compatible with its remote version {2}",this.resource,this.version,remoteUserData.syncData.version),UserDataSyncErrorCode.Incompatible,this.resource);
thrownewUserDataSyncError(localize({key:'incompatible',comment:['This is an error while syncing a resource that its local version is not compatible with its remote version.']},"Cannot sync {0} as its local version {1} is not compatible with its remote version {2}",this.resource,this.version,remoteUserData.syncData.version),UserDataSyncErrorCode.IncompatibleLocalContent,this.resource);
thrownewUserDataSyncError(localize('incompatible sync data',"Cannot parse sync data as it is not compatible with current version."),UserDataSyncErrorCode.Incompatible,this.resource);
thrownewUserDataSyncError(localize('incompatible sync data',"Cannot parse sync data as it is not compatible with current version."),UserDataSyncErrorCode.IncompatibleRemoteContent,this.resource);
awaitthis.turnOff(false,true/* force soft turnoff on error */);
this.logService.info('Auto Sync: Turned off sync because server has {0} content with newer version than of client. Requires client upgrade.',userDataSyncError.resource);
awaitthis.turnOff(false,true/* force soft turnoff on error */);
this.logService.info('Auto Sync: Turned off sync because server has {0} content with older version than of client. Requires server reset.',userDataSyncError.resource);
this.handleTooLargeError(error.resource,localize('too large',"Disabled syncing {0} because size of the {1} file to sync is larger than {2}. Please open the file and reduce the size and enable sync",sourceArea.toLowerCase(),sourceArea.toLowerCase(),'100kb'),error);
constmessage=localize('error upgrade required',"Preferences sync is disabled because the current version ({0}, {1}) is not compatible with the sync service. Please update before turning on sync.",this.productService.version,this.productService.commit);
message:localize('error reset required',"Preferences sync is disabled because your data in the cloud is older than that of in the client. Please reset your data in the cloud before turning on sync."),
constmessage=localize('error upgrade required while starting sync',"Preferences sync cannot be turned on because the current version ({0}, {1}) is not compatible with the sync service. Please update before turning on sync.",this.productService.version,this.productService.commit);
message:localize('error reset required while starting sync',"Preferences sync cannot be turned on because your data in the cloud is older than that of in the client. Please reset your data in the cloud before turning on sync."),