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

Function stringFormatErrorV2

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

Source from the content-addressed store, hash-verified

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)
633}
634
635// formatStringInterpolatorV2 is an interface that allows user-defined behavior
636// for formatting clause implementations, as well as argument retrieval.

Callers 2

formatMethod · 0.85
StringMethod · 0.85

Calls 1

newFormatErrorFunction · 0.85

Tested by

no test coverage detected