Coverage for /home/runner/work/zserio/zserio/compiler/extensions/python/runtime/src/zserio/exception.py: 100%
3 statements
« prev ^ index » next coverage.py v6.5.0, created at 2024-12-05 10:43 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2024-12-05 10:43 +0000
1"""
2The module implements exceptions for Zserio python runtime library.
3"""
5from zserio.cppbind import import_cpp_class
8class PythonRuntimeException(Exception):
9 """
10 Exception thrown in case of an error in Zserio python runtime library.
11 """
14PythonRuntimeException = ( # type: ignore
15 import_cpp_class("PythonRuntimeException", exception_class=PythonRuntimeException) or PythonRuntimeException
16)