MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / incompatibleParameterTypeMessage

Function incompatibleParameterTypeMessage

src/c_api/value.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static std::string incompatibleParameterTypeMessage(const LogicalType& left,
59 const LogicalType& right) {
60 return std::format("Runtime exception: Cannot convert Python object to Lbug value : {} is "
61 "incompatible with {}",
62 left.toString(), right.toString());
63}
64
65static lbug_value* createCAPIValue(std::unique_ptr<Value> value) {
66 auto* c_value = (lbug_value*)calloc(1, sizeof(lbug_value));

Callers 2

lbug_value_create_listFunction · 0.85
lbug_value_create_mapFunction · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected