tiflow icon indicating copy to clipboard operation
tiflow copied to clipboard

engine: remove error field from rpc response structure

Open sleepymole opened this issue 3 years ago • 0 comments

We have implemented rpcerror to make it easier to handle errors from gRPC calls in a uniform way. It's no need to explicitly define the error in the response structures. Otherwise, we have to check two places for errors, one is the error returned by the gRPC call, and the other is the error in the response structure.

sleepymole avatar Sep 22 '22 07:09 sleepymole