ContractExecutionError
Hierarchy
- Web3ContractError
- ContractExecutionError
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Parameters
rpcError: JsonRpcError<JsonRpcResult>
Returns ContractExecutionError
Properties
publiccause
publiccode
publicreadonlyname
publicoptionalreceipt
publicstack
Accessors
publicinnerError
Returns undefined | Error | Error[]
Parameters
cause: undefined | Error | Error[]
Returns void
Methods
publictoJSON
Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
cause: undefined | Error
code: number
innerError: undefined | Error
message: string
name: string
publicstaticconvertToString
Parameters
value: unknown
unquotValue: boolean = false
Returns string
Used when an error is raised while executing a function inside a smart contract. The data is expected to be encoded according to EIP-848.