Skip to main content

Class: MutationDuringExtensionHookError

Defined in: model/errors.ts:806

code: 'mutation-during-extension-hook' — a mutator called while the extension hook (EditExtender) runs (#323). A nested write does not join the hook's own transaction. It opens a new outermost transaction, and that calls the hook again. The recursion overflows the stack, or — behind a hand-rolled depth cap — lands as separate changesets. Separate changesets split one undo step into many, which breaks I7. The write set is discarded; the hook call in progress is not affected.

Extends​

Constructors​

Constructor​

new MutationDuringExtensionHookError(operation): MutationDuringExtensionHookError

Defined in: model/errors.ts:809

Parameters​

operation​

string

Returns​

MutationDuringExtensionHookError

Overrides​

FreeGanttError.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:104

Inherited from​

FreeGanttError.code


operation​

readonly operation: string

Defined in: model/errors.ts:807