music-kraken-core/music_kraken/utils/exception/download.py
2024-04-09 10:32:17 +02:00

12 lines
300 B
Python

class DownloadException(Exception):
pass
class UrlNotFoundException(DownloadException):
def __init__(self, url: str, *args: object) -> None:
self.url = url
super().__init__(*args)
def __str__(self) -> str:
return f"Couldn't find the page of {self.url}"