from http import HTTPStatus from .api_exceptions import ApiException class UnauthorizedException(ApiException): """Exception for unauthorized access errors.""" def __init__(self, message: str = "Failed to authenticate."): super().__init__(HTTPStatus.UNAUTHORIZED, message)