(s *Status)
| 443 | } |
| 444 | |
| 445 | func str(s *Status) string { |
| 446 | if s == nil { |
| 447 | return "nil" |
| 448 | } |
| 449 | if s.Proto() == nil { |
| 450 | return "<Code=OK>" |
| 451 | } |
| 452 | return fmt.Sprintf("<Code=%v, Message=%q, Details=%+v>", s.Code(), s.Message(), s.Details()) |
| 453 | } |
| 454 | |
| 455 | // mustMarshalAny converts a protobuf message to an any. |
| 456 | func mustMarshalAny(msg proto.Message) *anypb.Any { |
no test coverage detected