Skip to main content

TransactionRevertError

Hierarchy

Index

Constructors

constructor

  • new TransactionRevertError(reason: string, signature?: string, receipt?: TransactionReceipt): TransactionRevertError
  • Parameters

    • reason: string
    • optionalsignature: string
    • optionalreceipt: TransactionReceipt

    Returns TransactionRevertError

Properties

code

code: number

innerError

innerError: undefined | Error | Error[]

readonlyname

name: string

reason

reason: string

optionalreceipt

receipt?: TransactionReceipt

optionalsignature

signature?: string

stack

stack: undefined | string

Methods

toJSON

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

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

staticconvertToString

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

    • value: unknown
    • optionalunquotValue: boolean

    Returns string