src/vs/platform/userDataSync/common/settingsSync.ts/SettingsSynchroniser/validateContent
class SettingsSynchroniser:	private validateContent(content: string): void {
		if (this.hasErrors(content, false)) {
			throw new UserDataSyncError(localize('errorInvalidSettings', "Unable to sync settings as there are errors/warning in settings file."), UserDataSyncErrorCode.LocalInvalidContent, this.resource);
		}
	}