()
| 71 | // To do what we perform an additional parsing of the error similar to |
| 72 | // https://github.com/grpc/grpc-go/blob/ced812e3287e15a009eab5b271c25750050a2f82/status/status.go#L123 |
| 73 | type grpcstatus interface{ GRPCStatus() *status.Status } |
| 74 | var gs grpcstatus |
| 75 | if errors.As(err, &gs) { |
| 76 | knownCodes := []codes.Code{ |
no outgoing calls