Class CompensatingWriteError

An error class that indicates that one or more object changes have been reverted by the server. This can happen when the client creates/updates objects that do not match any subscription, or performs writes on an object it didn't have permission to access.

Hierarchy (view full)

Properties

category: string

The category of this error.

Deprecated

cause?: unknown
code?: number

The error code that represents this error.

isFatal: boolean

Deprecated

Check the error message instead.

isOk: boolean
logUrl: string

The URL to the associated server log, if available. The string will be empty if the sync error is not initiated by the server.

message: string
name: string = "SyncError"
reason?: string
stack?: string
userInfo: Record<string, string>

A record of extra user information associated with this error.

writes: CompensatingWriteInfo[] = []

The array of information about each object that caused the compensating write.

Generated using TypeDoc