Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remote .
  • Loading branch information
T90REAL committed Nov 17, 2025
commit 016608b73b28105586a312f44eeb1a90b94d57c8
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ class UnauthorizedException(Exception):
message (str): The error message describing the unauthorized access.
"""

def __init__(self, message: str | None = None, *args, **kwargs):
def __init__(self, message: str | None = None, *args):
"""
Initialize the UnauthorizedException.

Args:
message (str): A descriptive error message.
*args: Variable positional arguments.
**kwargs: Variable keyword arguments.
"""
super().__init__(message, *args, **kwargs)
super().__init__(message, *args)
self.name = "UnauthorizedException"