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 ab9e5d3..ebf23de 100644
--- a/ATRI/exceptions.py
+++ b/ATRI/exceptions.py
@@ -86,6 +86,10 @@ class RequestTimeOut(BaseBotException):
prompt = "网页/接口请求超时"
+class GetStatusError(BaseBotException):
+ prompt = "获取状态失败"
+
+
@run_postprocessor # type: ignore
async def _(matcher: Matcher, exception: Optional[Exception],
event: MessageEvent, state: dict) -> None: