mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-06 20:16:47 +00:00
🚧 update event models
This commit is contained in:
@ -130,6 +130,15 @@ class AdapterException(NoneBotException):
|
||||
self.adapter_name = adapter_name
|
||||
|
||||
|
||||
class NoLogException(Exception):
|
||||
"""
|
||||
:说明:
|
||||
|
||||
指示 NoneBot 对当前 ``Event`` 进行处理但不显示 Log 信息,可在 ``get_log_string`` 时抛出
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class ApiNotAvailable(AdapterException):
|
||||
"""
|
||||
:说明:
|
||||
|
Reference in New Issue
Block a user