MCPcopy Create free account
hub / github.com/pybind/pybind11 / cast_error_unable_to_convert_call_arg

Function cast_error_unable_to_convert_call_arg

include/pybind11/cast.h:1910–1914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1908// but it is an easy minor optimization.
1909#if !defined(PYBIND11_DETAILED_ERROR_MESSAGES)
1910inline cast_error cast_error_unable_to_convert_call_arg(const std::string &name) {
1911 return cast_error("Unable to convert call argument '" + name
1912 + "' to Python object (#define "
1913 "PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)");
1914}
1915#else
1916inline cast_error cast_error_unable_to_convert_call_arg(const std::string &name,
1917 const std::string &type) {

Callers 2

make_tupleFunction · 0.85
processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected