Eip838ExecutionError
Hierarchy
- Web3ContractError
- Eip838ExecutionError
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Parameters
Returns Eip838ExecutionError
Properties
publiccause
publiccode
publicoptionaldata
publicoptionalerrorArgs
Type declaration
publicoptionalerrorName
publicoptionalerrorSignature
publicreadonlyname
publicoptionalreceipt
publicstack
Accessors
publicinnerError
Returns undefined | Error | Error[]
Parameters
cause: undefined | Error | Error[]
Returns void
Methods
publicsetDecodedProperties
Parameters
errorName: string
optionalerrorSignature: string
optionalerrorArgs: {}
Returns void
publictoJSON
Returns { cause: undefined | Eip838ExecutionError; code: number; data: string; errorArgs?: {}; errorName?: string; errorSignature?: string; innerError: undefined | Eip838ExecutionError; message: string; name: string }
cause: undefined | Eip838ExecutionError
code: number
data: string
optionalerrorArgs?: {}
optionalerrorName?: string
optionalerrorSignature?: string
innerError: undefined | Eip838ExecutionError
message: string
name: string
publicstaticconvertToString
Parameters
value: unknown
unquotValue: boolean = false
Returns string
This class is expected to be set as an
cause
inside ContractExecutionError The properties would be typically decoded from thedata
if it was encoded according to EIP-838