mirror of
https://github.com/Xtao-Labs/sticker-captcha-bot.git
synced 2024-11-22 15:36:54 +00:00
20 lines
393 B
Python
20 lines
393 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"
|
||
|
)
|