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

Function stringFormatError

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

Source from the content-addressed store, hash-verified

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)
693}
694
695type formatError struct {
696 id int64

Callers 2

FormatStringFunction · 0.85
StringMethod · 0.85

Calls 1

newFormatErrorFunction · 0.85

Tested by

no test coverage detected