MCPcopy Create free account
hub / github.com/cel-expr/cel-go / hexFormatError

Function hexFormatError

ext/formatting.go:679–681  ·  view source on GitHub ↗
(id int64, badType string)

Source from the content-addressed store, hash-verified

677}
678
679func 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
683func octalFormatError(id int64, badType string) error {
684 return newFormatError(id, "octal clause can only be used on integers, was given %s", badType)

Callers 2

HexMethod · 0.85
HexMethod · 0.85

Calls 1

newFormatErrorFunction · 0.85

Tested by

no test coverage detected