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

Function decimalFormatError

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

Source from the content-addressed store, hash-verified

669}
670
671func decimalFormatError(id int64, badType string) error {
672 return newFormatError(id, "decimal clause can only be used on integers, was given %s", badType)
673}
674
675func fixedPointFormatError(id int64, badType string) error {
676 return newFormatError(id, "fixed-point clause can only be used on doubles, was given %s", badType)

Callers 2

formatDecimalFunction · 0.85
DecimalMethod · 0.85

Calls 1

newFormatErrorFunction · 0.85

Tested by

no test coverage detected