Enums
WalletError
Swift Enumeration
Enumeration
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Swift Enumeration
enum WalletError
| Case | Description |
|---|---|
deviceSignerNotSupported(_:) | The wallet’s underlying provider does not support device signers, surfaced from the backend’s stable DEVICE_SIGNER_NOT_SUPPORTED error code. recover() catches it and falls back to the recovery signer. |
invalidChain(chain:) | - |
invalidToken(token:) | - |
recoveryConfigRejected(code:message:) | The SDK or Crossmint rejected the recovery method list. message explains the rejection. |
serviceError(_:) | - |
signerLocatorError(_:) | - |
signerNotRegistered(_:) | - |
transactionNotFound | - |
walletCreationCancelled | - |
walletCreationFailed(_:) | - |
walletGeneric(_:) | - |
walletInvalidCredentials | - |
walletInvalidSignerProvided | - |
walletInvalidType(_:) | - |
walletLocatorError(_:) | - |
walletNotFound | - |
| 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. |
enum RecoveryConfigCode
Was this page helpful?
