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.
20 lines
479 B
20 lines
479 B
4 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package kratos.errors;
|
||
|
|
||
|
import "google/protobuf/any.proto";
|
||
|
|
||
|
option cc_enable_arenas = true;
|
||
|
option go_package = "github.com/go-kratos/kratos/v2/errors;errors";
|
||
|
option java_multiple_files = true;
|
||
|
option java_outer_classname = "ErrorsProto";
|
||
|
option java_package = "com.github.kratos.errors";
|
||
|
option objc_class_prefix = "KratosErrors";
|
||
|
|
||
|
message Status {
|
||
|
int32 code = 1;
|
||
|
string reason = 2;
|
||
|
string message = 3;
|
||
|
repeated google.protobuf.Any details = 4;
|
||
|
}
|