From 77d6d86393991fbf2001231792949e49fb42614c Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Thu, 16 Dec 2021 23:24:00 +0800 Subject: =?UTF-8?q?=F0=9F=A7=B1=20=E6=96=B0=E5=A2=9E=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ATRI') diff --git a/ATRI/exceptions.py b/ATRI/exceptions.py index b8d4764..c95867d 100644 --- a/ATRI/exceptions.py +++ b/ATRI/exceptions.py @@ -88,6 +88,10 @@ class FormatError(BaseBotException): prompt = "格式错误" +class ServiceRegisterError(BaseBotException): + prompt = "服务注册错误" + + @run_postprocessor # type: ignore async def _track_error( matcher: Matcher, -- cgit v1.2.3