TransactionRevertInstructionError <ReceiptType>
Hierarchy
- BaseWeb3Error
- TransactionRevertInstructionError
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Type parameters
- ReceiptType = TransactionReceipt
Parameters
reason: string
optionalsignature: string
optionalreceipt: ReceiptType
optionaldata: string
Returns TransactionRevertInstructionError<ReceiptType>
Properties
publiccause
publiccode
publicoptionaldata
publicreadonlyname
publicreason
publicoptionalreceipt
publicoptionalsignature
publicstack
Accessors
publicinnerError
Returns undefined | Error | Error[]
Parameters
cause: undefined | Error | Error[]
Returns void
Methods
publictoJSON
Returns { cause: undefined | Error; code: number; data: undefined | string; innerError: undefined | Error; message: string; name: string; reason: string; receipt: undefined | ReceiptType; signature: undefined | string }
cause: undefined | Error
code: number
data: undefined | string
innerError: undefined | Error
message: string
name: string
reason: string
receipt: undefined | ReceiptType
signature: undefined | string
publicstaticconvertToString
Parameters
value: unknown
unquotValue: boolean = false
Returns string
Base class for Web3 errors.