🔥 remove dependency override provider

This commit is contained in:
yanyongyu
2021-11-21 16:12:36 +08:00
parent a864b36e9f
commit 760ac693c0
15 changed files with 35 additions and 83 deletions

View File

@ -1,9 +1,10 @@
from typing import Optional
from nonebot.exception import (AdapterException, ActionFailed as
BaseActionFailed, NetworkError as
BaseNetworkError, ApiNotAvailable as
BaseApiNotAvailable)
from nonebot.exception import AdapterException
from nonebot.exception import ActionFailed as BaseActionFailed
from nonebot.exception import NetworkError as BaseNetworkError
from nonebot.exception import NoLogException as BaseNoLogException
from nonebot.exception import ApiNotAvailable as BaseApiNotAvailable
class CQHTTPAdapterException(AdapterException):
@ -12,6 +13,10 @@ class CQHTTPAdapterException(AdapterException):
super().__init__("cqhttp")
class NoLogException(BaseNoLogException, CQHTTPAdapterException):
pass
class ActionFailed(BaseActionFailed, CQHTTPAdapterException):
"""
:说明: