Skip to main content

Class: ComputedFieldCannotBeWrittenError

Defined in: model/errors.ts:573

code: 'computed-field-cannot-be-written' — a compute Field declared rollUp or editable (thrown at registration), or an entries.update()/add() named one at the write door (thrown there by ADR 0015). One name for one concept: a compute Field runs on every read and owns no home to write into, whichever door found that out. The message says compute, never derived — that word covers a rolled-up value too, and a derived parent cell is DerivedFieldNotWritableError (ADR 0013) instead.

Extends​

Constructors​

Constructor​

new ComputedFieldCannotBeWrittenError(key, operation): ComputedFieldCannotBeWrittenError

Defined in: model/errors.ts:576

Parameters​

key​

string

operation​

string

Returns​

ComputedFieldCannotBeWrittenError

Overrides​

FreeGanttError.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:104

Inherited from​

FreeGanttError.code


key​

readonly key: string

Defined in: model/errors.ts:574