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.
16 lines
367 B
16 lines
367 B
2 years ago
|
syntax="proto3";
|
||
|
package errors;
|
||
|
option go_package="git.diulo.com/mogfee/kit/errors;errors";
|
||
|
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;
|
||
|
}
|