diff options
-rw-r--r-- | ATRI/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
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, |