Coverage for /home/jenkins/workspace/NDS/Zserio/NDS_ZSERIO-linux-build/compiler/extensions/python/runtime/src/zserio/exception.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2023-12-13 15:12 +0000

1""" 

2The module implements exceptions for Zserio python runtime library. 

3""" 

4 

5from zserio.cppbind import import_cpp_class 

6 

7class PythonRuntimeException(Exception): 

8 """ 

9 Exception thrown in case of an error in Zserio python runtime library. 

10 """ 

11 

12PythonRuntimeException = import_cpp_class( # type: ignore 

13 "PythonRuntimeException", exception_class=PythonRuntimeException) or PythonRuntimeException