Skip to main content

Interface: RpcResponseFailed<TErrorData>

Type parameters

NameType
TErrorDataunknown

Hierarchy

Properties

error

error: RpcResponseError<TErrorData>

This member is REQUIRED on error. This member MUST NOT exist if there was no error triggered during invocation. The value for this member MUST be an Object of Type RpcResponseError.

Defined in

packages/core/src/JSONRPC/types.ts:127


id

id: null | string | number

An identifier established by the Client that MUST contain a String, Number, or NULL value if included. It MUST be the same as the value of the id member in the Request Object. If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request) it MUST be Null.

Inherited from

RpcResponseCommon.id

Defined in

packages/core/src/JSONRPC/types.ts:98


jsonrpc

jsonrpc: "2.0"

A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0".

Inherited from

RpcResponseCommon.jsonrpc

Defined in

packages/core/src/JSONRPC/types.ts:88