Skip to main content
Enumeration
enum WalletError

Enumeration Cases

WalletError.invalidChain(chain:)

case invalidChain(chain: Chain)

WalletError.invalidToken(token:)

case invalidToken(token: CryptoCurrency)

WalletError.serviceError(_:)

case serviceError(CrossmintServiceError)

WalletError.transactionNotFound

case transactionNotFound

WalletError.walletCreationCancelled

case walletCreationCancelled

WalletError.walletCreationFailed(_:)

case walletCreationFailed(String)

WalletError.walletGeneric(_:)

case walletGeneric(String)

WalletError.walletInvalidCredentials

case walletInvalidCredentials

WalletError.walletInvalidSignerProvided

case walletInvalidSignerProvided

WalletError.walletInvalidType(_:)

case walletInvalidType(String)

WalletError.walletLocatorError(_:)

case walletLocatorError(String)

WalletError.walletNotFound

case walletNotFound

Instance Properties

errorMessage

Inherited from ServiceError.errorMessage.
var errorMessage: String { get }

Type Methods

fromNetworkError(_:)

Inherited from ServiceError.fromNetworkError(_:).
static func fromNetworkError(_ error: NetworkError) -> WalletError

fromServiceError(_:)

Inherited from ServiceError.fromServiceError(_:).
static func fromServiceError(_ error: CrossmintServiceError) -> WalletError