mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
✨ 添加 RecordNotFoundError 异常类型
This commit is contained in:
@@ -27,6 +27,10 @@ class MessageFormatError(NeedCatchError):
|
||||
"""用户发送的消息格式不正确"""
|
||||
|
||||
|
||||
class RecordNotFoundError(NeedCatchError):
|
||||
"""找不到用户的某种记录"""
|
||||
|
||||
|
||||
class FallbackError(NeedCatchError):
|
||||
"""需要回滚至更通用的方法"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user