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

Function nameless_argument_error

include/pybind11/cast.h:2367–2372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2365 }
2366
2367 [[noreturn]] static void nameless_argument_error() {
2368 throw type_error(
2369 "Got kwargs without a name; only named arguments "
2370 "may be passed via py::arg() to a python function call. "
2371 "(#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)");
2372 }
2373 [[noreturn]] static void nameless_argument_error(const std::string &type) {
2374 throw type_error("Got kwargs without a name of type '" + type
2375 + "'; only named "

Callers 1

processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected