(x any, t reflect.Type)
| 728 | } |
| 729 | |
| 730 | func overflowError(x any, t reflect.Type) error { |
| 731 | return gcerr.New(gcerr.InvalidArgument, nil, 2, fmt.Sprintf("value %v overflows type %s", x, t)) |
| 732 | } |
| 733 | |
| 734 | func wrap(err error, code gcerr.ErrorCode) error { |
| 735 | if _, ok := err.(*gcerr.Error); !ok && err != nil { |
no test coverage detected