BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
anonymous_namespace{PyImport.cpp} Namespace Reference

Functions

std::string error_description (const std::string &title)
 

Function Documentation

◆ error_description()

std::string anonymous_namespace{PyImport.cpp}::error_description ( const std::string &  title)

Definition at line 25 of file PyImport.cpp.

26 {
27  std::stringstream buf;
28  buf << title << "\n";
29  buf << PyEmbeddedUtils::pythonStackTrace() << "\n";
30  return buf.str();
31 }
std::string pythonStackTrace()
Returns string representing python stack trace.

References PyEmbeddedUtils::pythonStackTrace().

Referenced by PyImport::createFromPython(), and PyImport::listOfFunctions().

Here is the call graph for this function: