Eip838ExecutionError
Hierarchy
- Web3ContractError
- Eip838ExecutionError
Index
Constructors
constructor
Parameters
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; data: string; errorArgs?: {}; errorName?: string; errorSignature?: string; innerError: undefined | Error | Error[]; message: string; name: string }
code: number
data: string
optionalerrorArgs?: {}
[x string]: unknown
optionalerrorName?: string
optionalerrorSignature?: string
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