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

Function scientificFormatError

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

Source from the content-addressed store, hash-verified

685}
686
687func scientificFormatError(id int64, badType string) error {
688 return newFormatError(id, "scientific clause can only be used on doubles, was given %s", badType)
689}
690
691func stringFormatError(id int64, badType string) error {
692 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