summaryrefslogtreecommitdiff
path: root/ATRI/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/exceptions.py')
-rw-r--r--ATRI/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ATRI/exceptions.py b/ATRI/exceptions.py
index ddf6872..63e27a1 100644
--- a/ATRI/exceptions.py
+++ b/ATRI/exceptions.py
@@ -90,6 +90,10 @@ class BilibiliDynamicError(BaseBotException):
prompt = "b站动态订阅错误"
+class TwitterDynamicError(BaseBotException):
+ prompt = "Twitter动态订阅错误"
+
+
@run_postprocessor
async def _track_error(exception: Optional[Exception], bot: Bot, event) -> None:
if not exception: