SimulationError
Defined in: wallet-evm/src/errors.ts:31
eth_call of the transaction reverted; nothing was signed or sent. reason is decoded when possible.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SimulationError(
reason,data?):SimulationError
Defined in: wallet-evm/src/errors.ts:36
Parameters
Section titled “Parameters”reason
Section titled “reason”string
`0x${string}`
Returns
Section titled “Returns”SimulationError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”
readonlydata:`0x${string}`|undefined
Defined in: wallet-evm/src/errors.ts:35
Raw revert data, when the node returned it.
reason
Section titled “reason”
readonlyreason:string
Defined in: wallet-evm/src/errors.ts:33
Decoded revert reason, or the node’s message.