Skip to main content

Class: DerivedFieldNotWritableError

Defined in: model/errors.ts:663

code: 'derived-field-not-writable' — entries.update() named a Field on an Entry that has children, and that Field rolls up (ADR 0013). Nothing but the Rollup writes a rolling-up parent's cell: a write here would commit and the next Rollup would overwrite it in silence, so the library refuses instead. A compute Field has no stored home at all and is ComputedFieldCannotBeWrittenError; this is for a Field that does have one, just not on this Entry right now.

Extends​

Constructors​

Constructor​

new DerivedFieldNotWritableError(key, entryId, operation): DerivedFieldNotWritableError

Defined in: model/errors.ts:667

Parameters​

key​

string

entryId​

string

operation​

string

Returns​

DerivedFieldNotWritableError

Overrides​

FreeGanttError.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:104

Inherited from​

FreeGanttError.code


entryId​

readonly entryId: string

Defined in: model/errors.ts:665


key​

readonly key: string

Defined in: model/errors.ts:664