1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-10 00:29:01 +02:00
kratos/errors/errors.proto
Tony Chen 66412031fd
errors: refactor status code (#948)
* refactor status code
2021-05-25 15:01:53 +08:00

16 lines
357 B
Protocol Buffer

syntax = "proto3";
package kratos.errors;
option go_package = "github.com/go-kratos/kratos/v2/errors;errors";
option java_multiple_files = true;
option java_package = "com.github.kratos.errors";
option objc_class_prefix = "KratosErrors";
message Error {
int32 code = 1;
string reason = 2;
string message = 3;
map<string, string> metadata = 4;
};