Class: EntryNotFoundError
Defined in: model/errors.ts:334
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:338
Parameters
entryId
operation
string
Returns
EntryNotFoundError
Overrides
Properties
code
readonlycode:ThrownCode
Defined in: model/errors.ts:104
Inherited from
entryId
readonlyentryId:EntryId
Defined in: model/errors.ts:335
operation
readonlyoperation:string
Defined in: model/errors.ts:336