Skip to content

isKnotkitError(value): value is KnotkitErrorShape

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

Whether value carries the moduleName, _tag, code, and message fields every Knotkit error exposes. Structural, so it recognises an error from another realm or a duplicate bundle copy.

unknown

value is KnotkitErrorShape