Class SendTransactionError

Hierarchy

  • Error
    • SendTransactionError

Constructors

  • Parameters

    • __namedParameters: {
          action: "send" | "simulate";
          logs?: string[];
          signature: string;
          transactionMessage: string;
      }
      • action: "send" | "simulate"
      • Optionallogs?: string[]
      • signature: string
      • transactionMessage: string

    Returns SendTransactionError

Properties

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

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

  • get logs(): undefined | string[]
  • Returns undefined | string[]

  • get transactionError(): {
        logs?: string[];
        message: string;
    }
  • Returns {
        logs?: string[];
        message: string;
    }

    • Optionallogs?: string[]
    • message: string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void