SimulationFailedException

class SimulationFailedException(message: String, assembledTransaction: AssembledTransaction<*>) : ContractException

Exception thrown when transaction simulation fails.

This typically indicates an error in the contract invocation parameters, such as invalid arguments, insufficient authorization, or contract logic errors.

Check assembledTransaction.AssembledTransaction.simulation.error for details.

Constructors

Link copied to clipboard
constructor(message: String, assembledTransaction: AssembledTransaction<*>)

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?