CMS 3D CMS Logo

PyBind11Wrapper.cc
Go to the documentation of this file.
3 //#include <iostream>
4 namespace edm {
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 edm
edm::pythonToCppException
void pythonToCppException(const std::string &iType, const std::string &error)
Definition: PyBind11Wrapper.cc:6
edm
HLT enums.
Definition: AlignableModifier.h:19
relativeConstraints.error
error
Definition: relativeConstraints.py:53
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Exception
Definition: hltDiff.cc:245
PyBind11Wrapper.h
Exception.h