# Interface: AuthError

Defined in: [packages/auth/src/auth.ts:198](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L198)

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/auth/src/auth.ts:202](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L202) |
| <a id="property-hint"></a> `hint?` | `readonly` | `string` | What the person can do about it, when that is known | [packages/auth/src/auth.ts:201](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L201) |
| <a id="property-message"></a> `message` | `readonly` | `string` | - | [packages/auth/src/auth.ts:199](https://github.com/leifriksheim/minca/blob/main/auth/src/auth.ts#L199) |
