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
Properties
code
readonlycode:ThrownCode
Defined in: model/errors.ts:104
Inherited from
entryId
readonlyentryId:string
Defined in: model/errors.ts:530
key
readonlykey:string
Defined in: model/errors.ts:529