Method CreateErrorResponse
CreateErrorResponse(JsonValue, JsonRpcError)
Creates an new error JsonRpcResponse with given parameters.
public static JsonRpcResponse CreateErrorResponse(JsonValue id, JsonRpcError error)
Parameters
id
JsonValueThe JSON-RPC response id.
error
JsonRpcErrorThe JSON-RPC response error.