You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iTi-Flask/iti/mq/errors.py

14 lines
271 B
Python

from __future__ import annotations
class MQError(RuntimeError):
"""Base MQ error."""
class MQConfigError(MQError):
"""Raised when MQ configuration is missing or invalid."""
class MQPublishError(MQError):
"""Raised when a message cannot be published."""