Class: UnknownPresetError
Defined in: model/errors.ts:263
code: 'unknown-preset' — a PresetId string outside every table resolvePreset searched
(S1.9; ladder search added #489). gantt.preset searches this Gantt's own
zoomPresets before the shipped table (#489 owner ruling); gantt.zoomPresets and a shared
TimeScaleModel's own preset have no ladder to search and stay shipped-only. ladderIds is
empty for those two doors — the message then names only the shipped table, honestly reporting
that no ladder search ran. operation names the actual door, the same reason InvalidPresetError
takes it (C3/#482 review).
Extends
Constructors
Constructor
new UnknownPresetError(
presetId,ladderIds,shippedIds,operation):UnknownPresetError
Defined in: model/errors.ts:269
Parameters
presetId
string
ladderIds
readonly string[]
shippedIds
readonly string[]
operation
string
Returns
UnknownPresetError
Overrides
Properties
code
readonlycode:ThrownCode
Defined in: model/errors.ts:104
Inherited from
ladderIds
readonlyladderIds: readonlystring[]
Defined in: model/errors.ts:265
operation
readonlyoperation:string
Defined in: model/errors.ts:267
presetId
readonlypresetId:string
Defined in: model/errors.ts:264
shippedIds
readonlyshippedIds: readonlystring[]
Defined in: model/errors.ts:266