Javelina/classes/errors/pycord_user.py

8 lines
259 B
Python
Raw Normal View History

class UserNotFoundError(Exception):
"""PycordUser could not find user with such an ID in the database"""
def __init__(self, user_id: int) -> None:
self.user_id = user_id
2025-02-18 20:19:09 +01:00
super().__init__(f"User with id {self.user_id} was not found")