bilibili-API-collect/grpc_api/bilibili/rpc/status.proto

17 lines
425 B
Protocol Buffer
Raw Normal View History

2021-06-11 01:03:04 +08:00
syntax = "proto3";
package bilibili.rpc;
import "google/protobuf/any.proto";
// 响应gRPC Status
// 当status code是[UNKNOWN = 2]时details为业务详细的错误信息进行proto any转换成业务码结构体
message Status {
// 业务错误码
int32 code = 1;
// 业务错误信息
string message = 2;
//扩展信息嵌套(相当于该messasge的套娃)
repeated google.protobuf.Any details = 3;
}