copeai-ai-backend/copeai_backend/exception/LockedConversationException.py

8 lines
261 B
Python
Raw Normal View History

2024-01-07 18:20:09 +00:00
class ConversationLockedException(Exception):
"""Raised when there is already an ongoing conversation."""
def __init__(self):
super().__init__(
"There is already an ongoing conversation. Please wait until it is finished."
)