Enumerations
The following enumerations are available globally.
-
Declaration
Swift
public enum Base58String
-
Meta type that can hold a 64 bit signed value that can come from the server as a Int64 or a String.
See moreDeclaration
Swift
public enum EosioInt64 : Codable
-
Meta type that can hold a 64 bit unsigned value that can come from the server as a UInt64 or a String.
See moreDeclaration
Swift
public enum EosioUInt64 : Codable
-
Error codes for
EosioError
.- eosioTransactionError: Error was encountered while preparing the Transaction.
- rpcProviderError: Error was encountered in RpcProvider.
- getInfoError: Error was returned by getInfo() method.
- getBlockError: Error was encountered from getBlock() method.
- getRequiredKeysError: Error was returned by getRequiredKeys() method.
- getRawAbiError: Error was returned by getRawAbi() method.
- pushTransactionError: Error was encountered while pushing the transaction.
- signatureProviderError: Error was encountered in SignatureProvider.
- getAvailableKeysError: Error was returned by getAvailableKeys() method.
- signTransactionError: Error was encountered while signing the transaction.
- abiProviderError: Error was encountered in AbiProvider.
- getAbiError: Error was returned by getAbi() method.
- serializationProviderError: Error was encountered in SerializationProvider.
- serializeError: Error was encountered while serializing the transaction.
- deserializeError: Error was encountered while deserializing transaction.
- eosioNameError: Error was encountered in EosioName.
- keyManagementError: Error was encountered in key management.
- keySigningError: Error was encountered while signing with a key.
- unexpectedError: There was an unexpected error.
Declaration
Swift
public enum EosioErrorCode : String, Codable
-
Provides typed results in closure returns so that there won’t be any
nil
return states to test for.- success: The success return state.
- failure: The failure return state.
Declaration
Swift
public enum EosioResult<Success, Failure> where Failure : Error