Skip to main content

Class: EmptyCoversError

Defined in: model/errors.ts:1085

code: 'empty-covers' — an empty cover list, from either door that takes one: notCovered([]), or a shading rule written { covers: [] } (#404). An empty list has no complement to compute: every instant would read as "not covered", which paints the whole window and is never what a plugin author meant to write. A consumer mistake at the config boundary, not a value core derives. operation names the caller, because two of them reach this and a baked-in prefix would tell one about a call it never made (see the file header, #239; #404 review).

Extends​

Constructors​

Constructor​

new EmptyCoversError(operation): EmptyCoversError

Defined in: model/errors.ts:1088

Parameters​

operation​

string

Returns​

EmptyCoversError

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