Skip to main content

Class: EntityNotFoundError

Defined in: packages/hypergraph/src/entity/entity.ts:22

Extends

  • YieldableError<this> & object & Readonly<{ cause?: unknown; id: string; type: AnyNoContext; }>

Constructors

Constructor

new EntityNotFoundError(args): EntityNotFoundError

Defined in: node_modules/.pnpm/effect@3.17.13/node_modules/effect/dist/dts/Data.d.ts:610

Parameters

args
cause?

unknown

id

string

type

AnyNoContext

Returns

EntityNotFoundError

Inherited from

Data.TaggedError('EntityNotFoundError')<{ id: string; type: AnyNoContext; cause?: unknown; }>.constructor

Properties

cause?

optional cause: unknown

Defined in: node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from

Data.TaggedError('EntityNotFoundError').cause


id

readonly id: string

Defined in: packages/hypergraph/src/entity/entity.ts:23

Inherited from

Data.TaggedError('EntityNotFoundError').id


type

readonly type: AnyNoContext

Defined in: packages/hypergraph/src/entity/entity.ts:24

Inherited from

Data.TaggedError('EntityNotFoundError').type