| 1908 | // but it is an easy minor optimization. |
| 1909 | #if !defined(PYBIND11_DETAILED_ERROR_MESSAGES) |
| 1910 | inline 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 |
| 1916 | inline cast_error cast_error_unable_to_convert_call_arg(const std::string &name, |
| 1917 | const std::string &type) { |
no outgoing calls
no test coverage detected