SimulationFailed

public final class SimulationFailed : SmartAccountTransactionException, @unchecked Sendable

Indicates that transaction simulation against the RPC failed.

A failure the RPC reports in its simulation response carries the response’s diagnostic events in diagnosticEventsXdr and the contract error the response reports in reportedContractError; OZContractErrorCodes.decodeFromSimulationFailure(_:) names a known code. Transport, JSON-RPC and parsing failures and the kit’s own checks carry [] and nil.