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

Function hexFormatErrorV2

ext/formatting_v2.go:619–621  ·  view source on GitHub ↗
(id int64, badType string)

Source from the content-addressed store, hash-verified

617}
618
619func hexFormatErrorV2(id int64, badType string) error {
620 return newFormatError(id, "only ints, uints, bytes, and strings can be formatted as hex, was given %s", badType)
621}
622
623func octalFormatErrorV2(id int64, badType string) error {
624 return newFormatError(id, "octal clause can only be used on ints and uints, was given %s", badType)

Callers 2

HexMethod · 0.85
HexMethod · 0.85

Calls 1

newFormatErrorFunction · 0.85

Tested by

no test coverage detected