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
Properties
code
code:
string|undefined
Inherited from
conflictType
conflictType:
"timestamp"|"seq"
Which concurrency mode detected the conflict.
detail
detail:
string|undefined
Inherited from
disableExternalErrorTracking?
optionaldisableExternalErrorTracking?:boolean
Inherited from
APIError.disableExternalErrorTracking
doc
doc:
unknown
The current server document at conflict time.
id
id:
string|undefined
Inherited from
isTerrenoAPIError
readonlyisTerrenoAPIError:true=true
Inherited from
links
links: {
about?:string;type?:string; } |undefined
Inherited from
meta
meta: {[
id:string]:unknown; } |undefined
Inherited from
serverSeq?
optionalserverSeq?:number
The doc's _syncSeq at conflict time (seq mode only).
source
source: {
header?:string;parameter?:string;pointer?:string; } |undefined
Inherited from
status
status:
number
Inherited from
Accessors
error
Get Signature
get error():
unknown
Deprecated
Use the standard cause field instead.
Returns
unknown
Inherited from
title
Get Signature
get title():
string
Returns
string
Inherited from
Methods
toJSON()
toJSON():
APIErrorBody