8 lines
261 B
Python
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."
|
||
|
)
|