Skip to main content

Class: EntryNotFoundError

Defined in: model/errors.ts:339

code: 'entry-not-found' — an id the Dataset has no entry for, from reveal(entryId) (S1.9) or a mutator (entries.update/remove, a parentId naming a missing entry — S2.3 §1.3 — or a plugin's store.set for an id with no entry). A read never raises it: a row is how a value is read, and entries.get answers undefined for an id the Dataset has no entry for (ADR 0017). operation names the call that failed, so the message points at what the caller asked for rather than a generic "not found".

Extends​

Constructors​

Constructor​

new EntryNotFoundError(entryId, operation): EntryNotFoundError

Defined in: model/errors.ts:343

Parameters​

entryId​

EntryId

operation​

string

Returns​

EntryNotFoundError

Overrides​

FreeGanttError.constructor

Properties​

code​

readonly code: ThrownCode

Defined in: model/errors.ts:109

Inherited from​

FreeGanttError.code


entryId​

readonly entryId: EntryId

Defined in: model/errors.ts:340


operation​

readonly operation: string

Defined in: model/errors.ts:341