1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-07-04 13:37:34 +00:00

Fix typos

This commit is contained in:
RGBCube 2022-06-25 16:08:54 +03:00
parent c04b69fcb7
commit a2a582dd5b
4 changed files with 7 additions and 7 deletions

View file

@ -20,7 +20,7 @@ class BaseHTTPError(GitHubError):
class HTTPError(BaseHTTPError):
"""Raised when an HTTP request doesn't respond with a successfull code."""
"""Raised when an HTTP request doesn't respond with a successful code."""
def __init__(self, response: ClientResponse, /) -> None:
self.method = response.method
@ -30,7 +30,7 @@ class HTTPError(BaseHTTPError):
def __str__(self) -> str:
return (
f"An HTTP error with the code {self.code} has occured while trying to do a"
f"An HTTP error with the code {self.code} has occurred while trying to do a"
f" {self.method} request to the URL {self.url}"
)