You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewUserDataSyncStoreError(`${options.type} request '${options.url?.toString()}' failed because of Conflict (409). There is new data exists for this resource. Make the request again with latest data.`,UserDataSyncErrorCode.Conflict,operationId);
397
+
thrownewUserDataSyncStoreError(`${options.type} request '${options.url?.toString()}' failed because of Conflict (409). There is new data for this resource. Make the request again with latest data.`,UserDataSyncErrorCode.Conflict,operationId);
398
398
}
399
399
400
400
if(context.res.statusCode===410){
401
401
thrownewUserDataSyncStoreError(`${options.type} request '${options.url?.toString()}' failed because the requested resource is not longer available (410).`,UserDataSyncErrorCode.Gone,operationId);
402
402
}
403
403
404
404
if(context.res.statusCode===412){
405
-
thrownewUserDataSyncStoreError(`${options.type} request '${options.url?.toString()}' failed because of Precondition Failed (412). There is new data exists for this resource. Make the request again with latest data.`,UserDataSyncErrorCode.PreconditionFailed,operationId);
405
+
thrownewUserDataSyncStoreError(`${options.type} request '${options.url?.toString()}' failed because of Precondition Failed (412). There is new data for this resource. Make the request again with latest data.`,UserDataSyncErrorCode.PreconditionFailed,operationId);
406
406
}
407
407
408
408
if(context.res.statusCode===413){
@@ -482,7 +482,7 @@ export class RequestsSession {
482
482
483
483
if(this.requests.length>=this.limit){
484
484
this.logService.info('Too many requests', ...this.requests);
485
-
thrownewUserDataSyncStoreError(`Too many requests. Allowed only ${this.limit} requests in ${this.interval/(1000*60)} minutes.`,UserDataSyncErrorCode.LocalTooManyRequests,undefined);
485
+
thrownewUserDataSyncStoreError(`Too many requests. Only ${this.limit} requests allowed in ${this.interval/(1000*60)} minutes.`,UserDataSyncErrorCode.LocalTooManyRequests,undefined);
0 commit comments