MCPcopy Create free account
hub / github.com/cloudwego/eino / Error

Method Error

compose/field_mapping.go:424–426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

422}
423
424func (e *errInterfaceNotValidForFieldMapping) Error() string {
425 return fmt.Sprintf("field mapping from an interface type, but actual type is not struct, struct ptr or map. InterfaceType= %v, ActualType= %v", e.interfaceType, e.actualType)
426}
427
428func checkAndExtractFromMapKey(fromMapKey string, input reflect.Value) (reflect.Value, error) {
429 key := reflect.ValueOf(fromMapKey)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected