# KnotkitErrorShape

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

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.

## Extended by

* [`InvalidInputErrorShape`](/reference/knotkit/errors/interfaces/invalidinputerrorshape/)
* [`ParseErrorShape`](/reference/knotkit/errors/interfaces/parseerrorshape/)

## Properties

### moduleName

> `readonly` **moduleName**: `ModuleName`

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

***

### \_tag

> `readonly` **\_tag**: `string`

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

***

### code

> `readonly` **code**: `string`

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

***

### message

> `readonly` **message**: `string`

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