6cf6f95f58
CodeQL / Analyze (push) Has been cancelled
Sync to Gitee / Run (push) Has been cancelled
Go / build & test (1.25.x) (push) Has been cancelled
Go / build & test (1.26.x) (push) Has been cancelled
Lint / resolve module (push) Has been cancelled
Lint / lint module (push) Has been cancelled
26 lines
530 B
Protocol Buffer
26 lines
530 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package errors;
|
|
|
|
option go_package = "github.com/go-kratos/kratos/v3/errors;errors";
|
|
option java_multiple_files = true;
|
|
option java_package = "com.github.kratos.errors";
|
|
option objc_class_prefix = "KratosErrors";
|
|
|
|
import "google/protobuf/descriptor.proto";
|
|
|
|
message Status {
|
|
int32 code = 1;
|
|
string reason = 2;
|
|
string message = 3;
|
|
map<string, string> metadata = 4;
|
|
};
|
|
|
|
extend google.protobuf.EnumOptions {
|
|
int32 default_code = 1108;
|
|
}
|
|
|
|
extend google.protobuf.EnumValueOptions {
|
|
int32 code = 1109;
|
|
}
|