Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Update .gitignore and exceptions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RLAlpha49 committed Oct 9, 2024
1 parent 52d9389 commit 33cd26a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.env
token
dist
site
site
__pycache__
8 changes: 4 additions & 4 deletions AniLinkPy/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ class RequestError(Exception):
def __init__(self, errors: Union[str, List[str]]) -> None:
"""
Initialize a RequestError instance.
Args:
errors (Union[str, List[str]]): A string or list of strings representing the error(s) encountered during the request.
Returns:
None: This method doesn't return anything, it initializes the object.
"""
Expand All @@ -23,10 +23,10 @@ class UnsupportedMethodError(Exception):

def __init__(self, method: str) -> None:
"""Initialize an UnsupportedMethodError exception.
Args:
method (str): The unsupported HTTP method.
Returns:
None: This method doesn't return anything.
"""
Expand Down

0 comments on commit 33cd26a

Please sign in to comment.