CMS 3D CMS Logo

PyBind11Wrapper.cc
Go to the documentation of this file.
3 //#include <iostream>
4 namespace cmspython3 {
5 
6  void pythonToCppException(const std::string& iType, const std::string& error) {
7  throw cms::Exception(iType) << " unknown python problem occurred.\n" << error << std::endl;
8  }
9 } // namespace cmspython3
relativeConstraints.error
error
Definition: relativeConstraints.py:53
cmspython3
Definition: PyBind11ProcessDesc.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cmspython3::pythonToCppException
void pythonToCppException(const std::string &iType, const std::string &error)
Definition: PyBind11Wrapper.cc:6
PyBind11Wrapper.h
Exception
Definition: hltDiff.cc:245
Exception.h