| 147 | } |
| 148 | |
| 149 | type customError struct { |
| 150 | Code codes.Code |
| 151 | Message string |
| 152 | Details []*anypb.Any |
| 153 | } |
| 154 | |
| 155 | func (c customError) Error() string { |
| 156 | return fmt.Sprintf("rpc error: code = %s desc = %s", c.Code, c.Message) |
nothing calls this directly
no outgoing calls
no test coverage detected