MethodNotFoundError
Hierarchy
- RpcError
- MethodNotFoundError
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Parameters
rpcError: JsonRpcResponseWithError<JsonRpcResult>
Returns MethodNotFoundError
Properties
publiccause
publiccode
publicid
publicjsonRpcError
publicjsonrpc
publicreadonlyname
publicstack
Accessors
publicinnerError
Returns undefined | Error | Error[]
Parameters
cause: undefined | Error | Error[]
Returns void
Methods
publictoJSON
Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
cause: undefined | Error
code: number
error: JsonRpcError<JsonRpcResult>
id: JsonRpcId
innerError: undefined | Error
jsonRpc: string
message: string
name: string
publicstaticconvertToString
Parameters
value: unknown
unquotValue: boolean = false
Returns string
Base class for Web3 errors.