grpc grpc

grpc grpc,第1张

简单记录一下grpc_statuc,方便排查问题

GRPC_STATUS_OK = 0
GRPC_STATUS_CANCELLED = 1
GRPC_STATUS_UNKNOWN = 2
GRPC_STATUS_INVALID_ARGUMENT = 3,
GRPC_STATUS_DEADLINE_EXCEEDED = 4
GRPC_STATUS_NOT_FOUND = 5
GRPC_STATUS_ALREADY_EXISTS = 6
GRPC_STATUS_PERMISSION_DENIED = 7,
GRPC_STATUS_RESOURCE_EXHAUSTED = 8
GRPC_STATUS_FAILED_PRECONDITION = 9
GRPC_STATUS_ABORTED = 10,
GRPC_STATUS_OUT_OF_RANGE = 11
GRPC_STATUS_UNIMPLEMENTED = 12
GRPC_STATUS_INTERNAL = 13
GRPC_STATUS_UNAVAILABLE = 14,
GRPC_STATUS_DATA_LOSS = 15
GRPC_STATUS_UNAUTHENTICATED = 16
GRPC_STATUS__DO_NOT_USE = -1

 

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/996064.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-21
下一篇 2022-05-21

发表评论

登录后才能评论

评论列表(0条)

保存