Files
nosibakabot/bot/exception.py
2024-11-07 19:27:37 +00:00

10 lines
319 B
Python

class UrlRemoverNotImplementedException(Exception):
def __init__(self, domain: str):
self.__base_message = "Url remover for domain not implemented"
self.domain = domain
super().__init__(self.__base_message)
def __str__(self):
return f'{self.__base_message}: {self.domain}'