Skip to content

Defined in: packages/errors/src/index.ts:71

Structural shape shared by every Knotkit error, independent of class identity.

Use it in a catch clause where the concrete class may come from another realm or a duplicate bundle copy, so instanceof would report a false negative.

readonly moduleName: ModuleName

Defined in: packages/errors/src/index.ts:72


readonly _tag: string

Defined in: packages/errors/src/index.ts:73


readonly code: string

Defined in: packages/errors/src/index.ts:74


readonly message: string

Defined in: packages/errors/src/index.ts:75