mirror of
https://github.com/Xtao-Labs/sticker-captcha-bot.git
synced 2024-12-04 13:14:17 +00:00
17 lines
350 B
Python
17 lines
350 B
Python
class TimeoutConversationError(Exception):
|
|
"""
|
|
Occurs when the conversation times out.
|
|
"""
|
|
|
|
def __init__(self):
|
|
super().__init__("Response read timed out")
|
|
|
|
|
|
class ListenerCanceled(Exception):
|
|
"""
|
|
Occurs when the listener is canceled.
|
|
"""
|
|
|
|
def __init__(self):
|
|
super().__init__("Listener was canceled")
|