1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

fix errors proto (#1020)

This commit is contained in:
Tony Chen
2021-06-09 10:48:29 +08:00
committed by GitHub
parent 996922fa87
commit 50e3dea2ee
2 changed files with 8 additions and 8 deletions
+7 -7
View File
@@ -9,6 +9,13 @@ option objc_class_prefix = "KratosErrors";
import "google/protobuf/descriptor.proto";
message Error {
int32 code = 1;
string reason = 2;
string message = 3;
map<string, string> metadata = 4;
};
extend google.protobuf.EnumOptions {
int32 default_code = 1108;
}
@@ -16,10 +23,3 @@ extend google.protobuf.EnumOptions {
extend google.protobuf.EnumValueOptions {
int32 code = 1109;
}
message Error {
int32 code = 1;
string reason = 2;
string message = 3;
map<string, string> metadata = 4;
};