(id int64, badType string)
| 677 | } |
| 678 | |
| 679 | func hexFormatError(id int64, badType string) error { |
| 680 | return newFormatError(id, "only integers, byte buffers, and strings can be formatted as hex, was given %s", badType) |
| 681 | } |
| 682 | |
| 683 | func octalFormatError(id int64, badType string) error { |
| 684 | return newFormatError(id, "octal clause can only be used on integers, was given %s", badType) |
no test coverage detected