Skip to main content

Class: CloudSyncCorruptRemoteObjectError

Defined in: electron/services/sync/cloudSyncTransportErrors.ts:15

Indicates that a remote sync object (manifest/snapshot/etc) exists but is not parseable or does not validate against the shared schemas.

Remarks​

This is considered a data corruption / incompatibility signal.

Callers (e.g. electron/services/sync/SyncEngine!SyncEngine) may choose to treat it as recoverable by rebuilding remote state from operation logs.

Hierarchy​

View Summary

Extends​

Constructors​

Constructor​

new CloudSyncCorruptRemoteObjectError(message: string, options: ErrorOptions & {
key: string;
kind: "manifest" | "operations" | "snapshot";
}): CloudSyncCorruptRemoteObjectError;

Defined in: electron/services/sync/cloudSyncTransportErrors.ts:25

Parameters​

message​

string

options​

ErrorOptions & { key: string; kind: "manifest" | "operations" | "snapshot"; }

Returns​

CloudSyncCorruptRemoteObjectError

Overrides​

Error.constructor;

Properties​

key​

readonly key: string;

Defined in: electron/services/sync/cloudSyncTransportErrors.ts:17

Provider key of the corrupt object.


kind​

readonly kind: "manifest" | "operations" | "snapshot";

Defined in: electron/services/sync/cloudSyncTransportErrors.ts:20

High-level artifact type for diagnostics.