Class: SiblingIndexOutOfRangeError
Defined in: model/errors.ts:453
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:459
Parameters
entryId
siblingIndex
number
lastIndex
number
operation
string
Returns
SiblingIndexOutOfRangeError
Overrides
Properties
code
readonlycode:ThrownCode
Defined in: model/errors.ts:104
Inherited from
entryId
readonlyentryId:EntryId
Defined in: model/errors.ts:454
lastIndex
readonlylastIndex:number
Defined in: model/errors.ts:456
operation
readonlyoperation:string
Defined in: model/errors.ts:457
siblingIndex
readonlysiblingIndex:number
Defined in: model/errors.ts:455