ytdl-sub/ytdl_subscribe/validators/exceptions.py
2022-04-09 22:09:10 +00:00

10 lines
395 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"""