ContractException

open class ContractException(message: String, val assembledTransaction: AssembledTransaction<*>? = null, cause: Throwable? = null) : Exception

Base exception class for all contract-related errors.

All exceptions thrown by com.soneso.stellar.sdk.contract.ContractClient and com.soneso.stellar.sdk.contract.AssembledTransaction extend this class.

The exception retains a reference to the AssembledTransaction that caused the error, allowing access to transaction state for debugging.

Inheritors

Constructors

Link copied to clipboard
constructor(message: String, assembledTransaction: AssembledTransaction<*>? = null, cause: Throwable? = null)

Properties

Link copied to clipboard

The AssembledTransaction that caused the error

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?