MCPcopy Create free account
hub / github.com/ImageEngine/cortex / bindException

Function bindException

src/IECorePython/ExceptionBinding.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43{
44
45void bindException()
46{
47 class_<std::exception_ptr>( "__std_exception_ptr", no_init );
48
49 ExceptionClass<Exception>( "Exception", PyExc_RuntimeError )
50 .def( init<std::string>() )
51 ;
52}
53
54}

Callers 1

BOOST_PYTHON_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected