public RpcResponse(string result, RpcError error = null, string id = null) { this.result = result; this.error = error; this.id = id; }
public RpcException(RpcError rpcerror) : base($"RpcError: code [{rpcerror.code}], message [{rpcerror.message}]") { RpcError = rpcerror; }