ErrorResultCodes
public final class ErrorResultCodes : Decodable, Sendable
Result codes explaining transaction and operation failures.
Contains error codes from Stellar Core indicating why a transaction failed. Transaction result codes apply to the whole transaction, while operation result codes indicate which specific operations failed and why.
Common transaction results:
- tx_failed: One or more operations failed
- tx_bad_seq: Incorrect sequence number
- tx_insufficient_balance: Not enough XLM to pay fee
-
Transaction-level result code (e.g., “tx_failed”, “tx_bad_seq”).
Declaration
Swift
public let transaction: String? -
Array of operation result codes, one per operation. Indicates which operations failed.
Declaration
Swift
public let operations: [String]? -
Declaration
Swift
public required init(from decoder: Decoder) throws
View on GitHub
Install in Dash