mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-30 08:06:40 +02:00
7105e4099c
* pass micro errors from grpc server to grpc client Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org> * wrap micro errors.Error to grpc status Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
11 lines
133 B
Protocol Buffer
11 lines
133 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package errors;
|
|
|
|
message Error {
|
|
string id = 1;
|
|
int32 code = 2;
|
|
string detail = 3;
|
|
string status = 4;
|
|
};
|