Skip to main content

Class: FieldNotEditableError

Defined in: model/errors.ts:593

code: 'field-not-editable' — entries.update() named a Field whose editable is 'never' (ADR 0015). The same key gates the grid at a second threshold: 'api' keeps the cell dead and still lets update() through, so only the lock reaches this door.

A lock names what a caller may write, never what the library may. Construction, entries.add() and History replay all still write a locked Field, so this error belongs to the change door alone.

Extends​

Constructors​

Constructor​

new FieldNotEditableError(field, operation): FieldNotEditableError

Defined in: model/errors.ts:597

Parameters​

field​

FieldKey

operation​

string

Returns​

FieldNotEditableError

Overrides​

FreeGanttError.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:104

Inherited from​

FreeGanttError.code


field​

readonly field: FieldKey

Defined in: model/errors.ts:594


operation​

readonly operation: string

Defined in: model/errors.ts:595