AptosError - OpenDive/AptosKit GitHub Wiki
AptosError
public enum AptosError: Swift.Error, Equatable
Inheritance
Equatable, Swift.Error
Enumeration Cases
other
case other(String)
invalidDataValue
case invalidDataValue(supportedType: String)
doesNotConformTo
case doesNotConformTo(protocolType: String)
unexpectedValue
case unexpectedValue(value: String)
stringToDataFailure
case stringToDataFailure(value: String)
stringToUInt256Failure
case stringToUInt256Failure(value: String)
unexpectedLargeULEB128Value
case unexpectedLargeULEB128Value(value: String)
unexpectedEndOfInput
case unexpectedEndOfInput(requested: String, found: String)
invalidLength
case invalidLength
lengthMismatch
case lengthMismatch
invalidPublicKey
case invalidPublicKey
invalidType
case invalidType(type: String)
invalidAuthenticatorType
case invalidAuthenticatorType
invalidSeedLength
case invalidSeedLength
keysCountOutOfRange
case keysCountOutOfRange(min: Int, max: Int)
thresholdOutOfRange
case thresholdOutOfRange(min: Int, max: Int)
noContentInKey
case noContentInKey
notImplemented
case notImplemented
invalidTransactionType
case invalidTransactionType
invalidVariant
case invalidVariant
invalidDerivationPath
case invalidDerivationPath
invalidUrl
case invalidUrl(url: String)
invalidJsonData
case invalidJsonData
missingAccountAddressKey
case missingAccountAddressKey
missingPrivateKey
case missingPrivateKey
seedModeIncompatibleWithEd25519Bip32BasedSeeds
case seedModeIncompatibleWithEd25519Bip32BasedSeeds(seedMode: String)
invalidAddressLength
case invalidAddressLength
aggregatorPathNotFound
case aggregatorPathNotFound(path: String)
couldNotDecodeKey
case couldNotDecodeKey(key: String)
invalidSequenceNumber
case invalidSequenceNumber
transactionTimedOut
case transactionTimedOut(hash: String)
restError
case restError