ytdl-sub/ytdl_subscribe/utils/exceptions.py
2022-04-22 07:34:51 +00:00

14 lines
519 B
Python

class ValidationException(ValueError):
"""Any user-caused configuration error should result in this error"""
class StringFormattingException(ValidationException):
"""Tried to format a string but failed due to user misconfigured variables"""
class StringFormattingVariableNotFoundException(StringFormattingException):
"""Tried to format a string but the variable was not found"""
class DownloadArchiveException(ValueError):
"""Any user or file errors caused by download archive or mapping files"""