it's a decodable error.
( _ context.Context, cause error, _ string, _ []string, payload proto.Message, )
| 115 | |
| 116 | // it's a decodable error. |
| 117 | func decodeWithGrpcCode( |
| 118 | _ context.Context, cause error, _ string, _ []string, payload proto.Message, |
| 119 | ) error { |
| 120 | wp := payload.(*EncodedGrpcCode) |
| 121 | return &withGrpcCode{cause: cause, code: codes.Code(wp.Code)} |
| 122 | } |
| 123 | |
| 124 | // encodeGrpcStatus takes an error generated by a standard gRPC Status and |
| 125 | // converts it into a GoGo Protobuf representation from |
nothing calls this directly
no test coverage detected
searching dependent graphs…