# GraphErrorCode

> **GraphErrorCode** = [`GraphInvalidInputErrorCode`](/reference/knotkit/graph/type-aliases/graphinvalidinputerrorcode/) | [`GraphParseErrorCode`](/reference/knotkit/graph/type-aliases/graphparseerrorcode/)

Defined in: [packages/graph/src/errors.ts:52](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/graph/src/errors.ts#L52)

A machine-readable error code emitted by `knotkit/graph`.
