> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WalletError.Unauthorized

> Kotlin Data Class

**Data Class**

```kotlin theme={null}
data class Unauthorized(val message: String, val cause: Throwable? = null) : WalletError
```

## Constructors

```kotlin theme={null}
constructor(message: String, cause: Throwable? = null)
```

## Properties

| Property  | Type              | Description                                         |
| --------- | ----------------- | --------------------------------------------------- |
| `cause`   | `Throwable?`      | -                                                   |
| `code`    | `WalletErrorCode` | Stable, machine-readable identifier for this error. |
| `message` | `String`          | -                                                   |
