(id int64, badType string)
| 685 | } |
| 686 | |
| 687 | func scientificFormatError(id int64, badType string) error { |
| 688 | return newFormatError(id, "scientific clause can only be used on doubles, was given %s", badType) |
| 689 | } |
| 690 | |
| 691 | func stringFormatError(id int64, badType string) error { |
| 692 | return newFormatError(id, "string clause can only be used on strings, bools, bytes, ints, doubles, maps, lists, types, durations, and timestamps, was given %s", badType) |
no test coverage detected