MCPcopy
hub / github.com/dgraph-io/dgraph / cannotConvertToVFloat

Function cannotConvertToVFloat

types/conversion.go:91–93  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

89}
90
91func cannotConvertToVFloat(s string) error {
92 return errors.Errorf("cannot convert %s to vfloat", s)
93}
94
95// Convert converts the value to given scalar type.
96func Convert(from Val, toID TypeID) (Val, error) {

Callers 1

ParseVFloatFunction · 0.85

Calls 1

ErrorfMethod · 0.45

Tested by

no test coverage detected