TransactionResult
public enum TransactionResult<ResponseDataType, MetadataType>
Represents the possible outcomes of executing a given DataTransaction.
-
Represents the result of a successfully executed transaction. The case includes the data and metadata returned by the transaction.
Declaration
Swift
case succeeded(ResponseDataType, MetadataType)
-
Represents the result of a failed executed transaction. The case includes a
DataTransactionErrorrepresenting the problem.Declaration
Swift
case failed(DataTransactionError)
-
Determines whether the receiver represents a successful result.
Declaration
Swift
public var isSuccess: Bool
View on GitHub
TransactionResult Enum Reference