mirror of
https://github.com/SocialSisterYi/bilibili-API-collect.git
synced 2025-01-04 08:50:07 +08:00
17 lines
426 B
Protocol Buffer
17 lines
426 B
Protocol Buffer
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;
|
||
}
|