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 db6265f..4d97799 100644
--- a/ATRI/exceptions.py
+++ b/ATRI/exceptions.py
@@ -98,6 +98,10 @@ class ThesaurusError(BaseBotException):
prompt = "词库相关错误"
+class RssError(BaseBotException):
+ prompt = "RSS订阅错误"
+
+
@run_postprocessor
async def _track_error(
bot: Bot, event, matcher: Matcher, exception: Optional[Exception]