You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
558 B
28 lines
558 B
syntax = "proto3";
|
|
|
|
package 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";
|
|
|
|
import "google/protobuf/descriptor.proto";
|
|
|
|
extend google.protobuf.EnumOptions {
|
|
int32 default_code = 1108;
|
|
}
|
|
|
|
extend google.protobuf.EnumValueOptions {
|
|
int32 code = 1109;
|
|
optional Details details = 1110;
|
|
}
|
|
|
|
message Details {
|
|
optional Format format = 1;
|
|
}
|
|
|
|
message Format {
|
|
string str = 1;
|
|
bool with_args = 2;
|
|
}
|
|
|