> ## Documentation Index
> Fetch the complete documentation index at: https://crossmint-devin-1787949784-wallet-docs-two-concept-model.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# WalletError

> Swift Enumeration

**Enumeration**

```swift theme={null}
enum WalletError
```

## Enumeration Cases

| Case                           | Description |
| ------------------------------ | ----------- |
| `deviceSignerNotSupported(_:)` | -           |
| `invalidChain(chain:)`         | -           |
| `invalidToken(token:)`         | -           |
| `serviceError(_:)`             | -           |
| `signerNotRegistered(_:)`      | -           |
| `transactionNotFound`          | -           |
| `walletCreationCancelled`      | -           |
| `walletCreationFailed(_:)`     | -           |
| `walletGeneric(_:)`            | -           |
| `walletInvalidCredentials`     | -           |
| `walletInvalidSignerProvided`  | -           |
| `walletInvalidType(_:)`        | -           |
| `walletLocatorError(_:)`       | -           |
| `walletNotFound`               | -           |

## Instance Properties

| Property             | Type           | Description                                         |
| -------------------- | -------------- | --------------------------------------------------- |
| `code`               | `String`       | Inherited from `CrossmintError.code`.               |
| `message`            | `String`       | Inherited from `CrossmintError.message`.            |
| `recoverySuggestion` | `String?`      | Inherited from `CrossmintError.recoverySuggestion`. |
| `underlyingError`    | `(any Error)?` | Inherited from `CrossmintError.underlyingError`.    |
