# Interface: ProtocolError

Defined in: [packages/core/src/utils/errors.ts:25](https://github.com/leifriksheim/minca/blob/main/core/src/utils/errors.ts#L25)

## Extends

- `Error`

## Properties

| Property | Modifier | Type | Description | Inherited from | Defined in |
| ------ | ------ | ------ | ------ | ------ | ------ |
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | - | `Error.cause` | [apps/docs/node\_modules/typescript/lib/lib.es2022.error.d.ts:24](https://github.com/leifriksheim/minca/blob/main/../apps/docs/node_modules/typescript/lib/lib.es2022.error.d.ts#L24) |
| <a id="property-code"></a> `code` | `readonly` | [`ProtocolErrorCode`](https://minca.dev/api/core/type-aliases/ProtocolErrorCode.md) | - | - | [packages/core/src/utils/errors.ts:26](https://github.com/leifriksheim/minca/blob/main/core/src/utils/errors.ts#L26) |
| <a id="property-hint"></a> `hint?` | `readonly` | `string` | What the caller can suggest doing about it | - | [packages/core/src/utils/errors.ts:28](https://github.com/leifriksheim/minca/blob/main/core/src/utils/errors.ts#L28) |
| <a id="property-message"></a> `message` | `public` | `string` | - | `Error.message` | [apps/docs/node\_modules/typescript/lib/lib.es5.d.ts:1075](https://github.com/leifriksheim/minca/blob/main/../apps/docs/node_modules/typescript/lib/lib.es5.d.ts#L1075) |
| <a id="property-name"></a> `name` | `public` | `string` | - | `Error.name` | [apps/docs/node\_modules/typescript/lib/lib.es5.d.ts:1074](https://github.com/leifriksheim/minca/blob/main/../apps/docs/node_modules/typescript/lib/lib.es5.d.ts#L1074) |
| <a id="property-stack"></a> `stack?` | `public` | `string` | - | `Error.stack` | [apps/docs/node\_modules/typescript/lib/lib.es5.d.ts:1076](https://github.com/leifriksheim/minca/blob/main/../apps/docs/node_modules/typescript/lib/lib.es5.d.ts#L1076) |
