Skip to main content
Version: 57.2.0

ExecutorConflictError

Thrown by executeUpdate when a concurrency check fails. Carries the current server document (canonical copy) so callers can serialize it into a conflict response: the REST handler turns timestamp conflicts into the legacy 409 {data, error, message} body, and the sync mutation channel returns the doc + seq in its conflict nack.

Extends

Constructors

Constructor

new ExecutorConflictError(__namedParameters): ExecutorConflictError

Parameters

__namedParameters

ExecutorConflictErrorConstructor

Returns

ExecutorConflictError

Overrides

APIError.constructor

Properties

code

code: string | undefined

Inherited from

APIError.code


conflictType

conflictType: "timestamp" | "seq"

Which concurrency mode detected the conflict.


detail

detail: string | undefined

Inherited from

APIError.detail


disableExternalErrorTracking?

optional disableExternalErrorTracking?: boolean

Inherited from

APIError.disableExternalErrorTracking


doc

doc: unknown

The current server document at conflict time.


id

id: string | undefined

Inherited from

APIError.id


isTerrenoAPIError

readonly isTerrenoAPIError: true = true

Inherited from

APIError.isTerrenoAPIError


links: { about?: string; type?: string; } | undefined

Inherited from

APIError.links


meta

meta: {[id: string]: unknown; } | undefined

Inherited from

APIError.meta


serverSeq?

optional serverSeq?: number

The doc's _syncSeq at conflict time (seq mode only).


source

source: { header?: string; parameter?: string; pointer?: string; } | undefined

Inherited from

APIError.source


status

status: number

Inherited from

APIError.status

Accessors

error

Get Signature

get error(): unknown

Deprecated

Use the standard cause field instead.

Returns

unknown

Inherited from

APIError.error


title

Get Signature

get title(): string

Returns

string

Inherited from

APIError.title

Methods

toJSON()

toJSON(): APIErrorBody

Returns

APIErrorBody

Inherited from

APIError.toJSON