myai-discord/copeai_backend/exception/LockedConversationException.py

8 lines
261 B
Python

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."
)