EIP1193ProviderRpcError
Hierarchy
- BaseWeb3Error
- EIP1193ProviderRpcError
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Parameters
code: number
optionaldata: unknown
Returns EIP1193ProviderRpcError
Properties
publiccause
publiccode
publicoptionaldata
publicreadonlyname
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
Base class for Web3 errors.