Class: SiblingIndexOutOfRangeError
Defined in: model/errors.ts:458
code: 'sibling-index-out-of-range' — an explicit siblingIndex write outside the legal range
for its group: negative, not a whole number, or past lastIndex (the highest legal index once the
write lands — the group's own count for an add, one less than it for an update). An explicit
write from entries.update()/entries.add(), or from an extender edit, raises this error; the
renumber pass that runs at commit never does.
Extends
Constructors
Constructor
new SiblingIndexOutOfRangeError(
entryId,siblingIndex,lastIndex,operation):SiblingIndexOutOfRangeError
Defined in: model/errors.ts:464
Parameters
entryId
siblingIndex
number
lastIndex
number
operation
string
Returns
SiblingIndexOutOfRangeError
Overrides
Properties
code
readonlycode:ThrownCode
Defined in: model/errors.ts:109
Inherited from
entryId
readonlyentryId:EntryId
Defined in: model/errors.ts:459
lastIndex
readonlylastIndex:number
Defined in: model/errors.ts:461
operation
readonlyoperation:string
Defined in: model/errors.ts:462
siblingIndex
readonlysiblingIndex:number
Defined in: model/errors.ts:460