Files
alfred/alfred/domain/subtitles/exceptions.py
T
2025-12-24 07:50:09 +01:00

16 lines
304 B
Python

"""Subtitle domain exceptions."""
from ..shared.exceptions import DomainException, NotFoundError
class SubtitleNotFound(NotFoundError):
"""Raised when a subtitle is not found."""
pass
class InvalidSubtitleFormat(DomainException):
"""Raised when subtitle format is invalid."""
pass