Skip to main content

Class: DuplicatePropsKeyError

Defined in: model/errors.ts:528

code: 'duplicate-props-key' — a constructor entry (or entries.add()) names one declared Field key twice: once flat, at the top level, and once again inside props (ADR 0011). The two spellings would silently disagree about which value wins, so this throws instead of picking one — an undeclared key never reaches here, because ingest carries it without a second opinion to conflict with.

Extends​

Constructors​

Constructor​

new DuplicatePropsKeyError(key, entryId): DuplicatePropsKeyError

Defined in: model/errors.ts:532

Parameters​

key​

string

entryId​

string

Returns​

DuplicatePropsKeyError

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


key​

readonly key: string

Defined in: model/errors.ts:529