Source code for zserio.exception

"""
The module implements exceptions for Zserio python runtime library.
"""

from zserio.cppbind import import_cpp_class


[docs]class PythonRuntimeException(Exception): """ Exception thrown in case of an error in Zserio python runtime library. """
PythonRuntimeException = ( # type: ignore import_cpp_class("PythonRuntimeException", exception_class=PythonRuntimeException) or PythonRuntimeException )