# isKnotkitError

> **isKnotkitError**(`value`): `value is KnotkitErrorShape`

Defined in: [packages/errors/src/index.ts:92](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/errors/src/index.ts#L92)

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.

## Parameters

### value

`unknown`

## Returns

`value is KnotkitErrorShape`
