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

Function scientificFormatErrorV2

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

Source from the content-addressed store, hash-verified

625}
626
627func scientificFormatErrorV2(id int64, badType string) error {
628 return newFormatError(id, "scientific clause can only be used on ints, uints, and doubles, was given %s", badType)
629}
630
631func stringFormatErrorV2(id int64, badType string) error {
632 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)

Callers 2

ScientificMethod · 0.85
ScientificMethod · 0.85

Calls 1

newFormatErrorFunction · 0.85

Tested by

no test coverage detected