1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-14 21:24:59 +00:00
This commit is contained in:
RGBCube 2022-06-25 14:37:19 +03:00
parent 1a8cfd18ff
commit 4e680858ed
3 changed files with 3 additions and 5 deletions

View file

@ -47,6 +47,7 @@ class RatelimitReached(GitHubError):
f" {human_readable_time_until(datetime.now(timezone.utc) - self.reset_time)}"
)
def error_from_request(request: ClientResponse, /) -> BaseHTTPError:
# TODO: Make specific errrors
return HTTPError(request)