public static IpcResponse CreateIpcErrorResponse(IpcRequest request, Exception error)
 {
     return(new IpcResponse {
         RequestId = request.RequestId,
         Protocol = IpcProtocols.Exception,
         Data = CreateErrorResponse(error)
     });
 }
 public void WriteRequest(IpcRequest request)
 {
     WriteMessage(request);
 }