<filename>messaging/error.py
"""
Errors used in the module.

Copyright (C) CERN 2013-2021
"""


class MessageError(Exception):
    """
    Raised when errors occurs during Message handling.
    """
    pass


class GeneratorError(Exception):
    """
    Raised when errors occurs during Generator handling.
    """
    pass

<filename>messaging/error.py
"""
Errors used in the module.

Copyright (C) CERN 2013-2021
"""


class MessageError(Exception):
    """
    Raised when errors occurs during Message handling.
    """
    pass


class GeneratorError(Exception):
    """
    Raised when errors occurs during Generator handling.
    """
    pass

Errors used in the module.  Copyright (C) CERN 2013-2021 Raised when errors occurs during Message handling. Raised when errors occurs during Generator handling.