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

Function throw_myex5

tests/test_exceptions.py:212–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210 raise m.MyException("nested error")
211
212 def throw_myex5():
213 raise m.MyException5("nested error 5")
214
215 # In the comments below, the exception is caught in the first step, thrown in the last step
216

Callers

nothing calls this directly

Calls 1

MyException5Method · 0.80

Tested by

no test coverage detected