(c codes.Code, format string, args ...interface{})
| 12 | } |
| 13 | |
| 14 | func Errorf(c codes.Code, format string, args ...interface{}) error { |
| 15 | return extgrpc.WrapWithGrpcCode(errors.Newf(format, args...), c) |
| 16 | } |
| 17 | |
| 18 | func WrapErr(c codes.Code, msg string, err error) error { |
| 19 | return extgrpc.WrapWithGrpcCode(errors.WrapWithDepth(1, err, msg), c) |
nothing calls this directly
no test coverage detected
searching dependent graphs…