grpc_status总结

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

https://blog.csdn.net/bugang4663/article/details/114664470

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

 

上一篇:Java微服务选型Dubbo V.S SpringCloud


下一篇:2021-07-15