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

Function throw_myex

tests/test_exceptions.py:209–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207 """Tests nested (e.g. C++ -> Python -> C++) exception handling"""
208
209 def throw_myex():
210 raise m.MyException("nested error")
211
212 def throw_myex5():
213 raise m.MyException5("nested error 5")

Callers

nothing calls this directly

Calls 1

MyExceptionMethod · 0.80

Tested by

no test coverage detected