Skip to main content

TransactionRevertInstructionError <ReceiptType>

Hierarchy

Index

Constructors

constructor

  • new TransactionRevertInstructionError<ReceiptType>(reason: string, signature?: string, receipt?: ReceiptType, data?: string): TransactionRevertInstructionError<ReceiptType>

Properties

code

code: number

optionaldata

data?: string

innerError

innerError: undefined | Error | Error[]

readonlyname

name: string

reason

reason: string

optionalreceipt

receipt?: ReceiptType

optionalsignature

signature?: string

stack

stack: undefined | string

Methods

toJSON

  • toJSON(): { code: number; data: undefined | string; innerError: undefined | Error | Error[]; message: string; name: string; reason: string; receipt: undefined | ReceiptType; signature: undefined | string }
  • Returns { code: number; data: undefined | string; innerError: undefined | Error | Error[]; message: string; name: string; reason: string; receipt: undefined | ReceiptType; signature: undefined | string }

    • code: number
    • data: undefined | string
    • innerError: undefined | Error | Error[]
    • message: string
    • name: string
    • reason: string
    • receipt: undefined | ReceiptType
    • signature: undefined | string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string