Eip838ExecutionError
Hierarchy
- Web3ContractError
- Eip838ExecutionError
Index
Constructors
constructor
Parameters
code: number
message: string
optionaldata: string
Returns Eip838ExecutionError
Properties
code
optionaldata
optionalerrorArgs
Type declaration
optionalerrorName
optionalerrorSignature
innerError
readonlyname
optionalreceipt
stack
Methods
setDecodedProperties
Parameters
errorName: string
optionalerrorSignature: string
optionalerrorArgs: {}
Returns void
toJSON
Returns { code: number; innerError: undefined | Error | Error[]; message: string; name: string }
code: number
innerError: undefined | Error | Error[]
message: string
name: string
staticconvertToString
Parameters
value: unknown
optionalunquotValue: boolean
Returns string
This class is expected to be set as an
innerError
inside ContractExecutionError The properties would be typically decoded from thedata
if it was encoded according to EIP-838