Error thrown when simulateHandleOp fails with an actual error (not an ExecutionResult). Contains the error message from the simulation.

throw new SimulateHandleOpError("AA23 reverted");

Hierarchy

  • Error
    • SimulateHandleOpError

Constructors

Properties

cause?: unknown
message: string

The error message from the simulation

name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void