Table of Contents

Method CreateErrorResponse

Namespace: Sisk.JsonRPC
Assembly: Sisk.JsonRPC.dll

CreateErrorResponse(JsonValue, JsonRpcError)

Creates an new error JsonRpcResponse with given parameters.

public static JsonRpcResponse CreateErrorResponse(JsonValue id, JsonRpcError error)

Parameters

id JsonValue

The JSON-RPC response id.

error JsonRpcError

The JSON-RPC response error.

Returns

JsonRpcResponse