Skip to main content

Class: ToggleFieldNotBooleanError

Defined in: model/errors.ts:754

A grid column asks for toggle, and its Field has no checkbox input, so it is not a boolean. A toggle writes the opposite of a boolean, so no other type has a value to flip. Thrown where gridColumns resolves.

Extends​

Constructors​

Constructor​

new ToggleFieldNotBooleanError(key): ToggleFieldNotBooleanError

Defined in: model/errors.ts:757

Parameters​

key​

string

Returns​

ToggleFieldNotBooleanError

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:755