bilibili-API-collect/grpc_api/bilibili/rpc/status.proto
2022-02-05 18:34:14 +08:00

17 lines
426 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}