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

Function binaryFormatErrorV2

ext/formatting_v2.go:607–609  ·  view source on GitHub ↗

helper routines for reporting common errors during string formatting static validation and runtime execution.

(id int64, badType string)

Source from the content-addressed store, hash-verified

605// runtime execution.
606
607func binaryFormatErrorV2(id int64, badType string) error {
608 return newFormatError(id, "only ints, uints, and bools can be formatted as binary, was given %s", badType)
609}
610
611func decimalFormatErrorV2(id int64, badType string) error {
612 return newFormatError(id, "decimal clause can only be used on ints, uints, and doubles, was given %s", badType)

Callers 2

BinaryMethod · 0.85
BinaryMethod · 0.85

Calls 1

newFormatErrorFunction · 0.85

Tested by

no test coverage detected