> ## 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

> Swift Enumeration

**Enumeration**

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

## Enumeration Cases

### WalletError.deviceSignerNotSupported(\_:)

```swift theme={null}
case deviceSignerNotSupported(String)
```

### WalletError.invalidChain(chain:)

```swift theme={null}
case invalidChain(chain: Chain)
```

### WalletError.invalidToken(token:)

```swift theme={null}
case invalidToken(token: CryptoCurrency)
```

### WalletError.serviceError(\_:)

```swift theme={null}
case serviceError(CrossmintServiceError)
```

### WalletError.signerNotRegistered(\_:)

```swift theme={null}
case signerNotRegistered(String)
```

### WalletError.transactionNotFound

```swift theme={null}
case transactionNotFound
```

### WalletError.walletCreationCancelled

```swift theme={null}
case walletCreationCancelled
```

### WalletError.walletCreationFailed(\_:)

```swift theme={null}
case walletCreationFailed(String)
```

### WalletError.walletGeneric(\_:)

```swift theme={null}
case walletGeneric(String)
```

### WalletError.walletInvalidCredentials

```swift theme={null}
case walletInvalidCredentials
```

### WalletError.walletInvalidSignerProvided

```swift theme={null}
case walletInvalidSignerProvided
```

### WalletError.walletInvalidType(\_:)

```swift theme={null}
case walletInvalidType(String)
```

### WalletError.walletLocatorError(\_:)

```swift theme={null}
case walletLocatorError(String)
```

### WalletError.walletNotFound

```swift theme={null}
case walletNotFound
```

## Instance Properties

### code

Inherited from `CrossmintError.code`.

```swift theme={null}
var code: String { get }
```

### message

Inherited from `CrossmintError.message`.

```swift theme={null}
var message: String { get }
```

### recoverySuggestion

Inherited from `CrossmintError.recoverySuggestion`.

```swift theme={null}
var recoverySuggestion: String? { get }
```

### underlyingError

Inherited from `CrossmintError.underlyingError`.

```swift theme={null}
var underlyingError: (any Error)? { get }
```
