# Interface: AuthError

Defined in: [packages/core/src/session/auth.ts:194](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L194)

A failure, in the shape a screen needs to explain it

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-code"></a> `code?` | `readonly` | [`ProtocolErrorCode`](https://minca.dev/api/core/type-aliases/ProtocolErrorCode.md) | - | [packages/core/src/session/auth.ts:198](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L198) |
| <a id="property-hint"></a> `hint?` | `readonly` | `string` | What the person can do about it, when that is known | [packages/core/src/session/auth.ts:197](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L197) |
| <a id="property-message"></a> `message` | `readonly` | `string` | - | [packages/core/src/session/auth.ts:195](https://github.com/leifriksheim/minca/blob/main/core/src/session/auth.ts#L195) |
