File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1+ from .event import *
2+ from .bot import Bot as Bot
3+ from .adapter import Adapter as Adapter
4+ from .message import Message as Message
5+ from .exception import ActionFailed as ActionFailed
6+ from .exception import NetworkError as NetworkError
7+ from .exception import ActionTimeout as ActionTimeout
8+ from .message import MessageSegment as MessageSegment
9+ from .exception import GitHubAdapterException as GitHubAdapterException
Original file line number Diff line number Diff line change 1111from githubkit .exception import RequestFailed , RequestTimeout
1212from nonebot .exception import ActionFailed as BaseActionFailed
1313from nonebot .exception import NetworkError as BaseNetworkError
14- from nonebot .exception import ApiNotAvailable as BaseApiNotAvailable
1514
1615
1716class GitHubAdapterException (AdapterException ):
@@ -34,10 +33,6 @@ def __repr__(self) -> str:
3433 return f"<NetworkError: { self .request .method } { self .request .url } >"
3534
3635
37- class ApiNotAvailable (BaseApiNotAvailable , GitHubAdapterException ):
38- ...
39-
40-
4136class ActionFailed (RequestFailed , BaseActionFailed , GitHubAdapterException ):
4237 def __repr__ (self ) -> str :
4338 return (
You can’t perform that action at this time.
0 commit comments