13 lines
301 B
Python
13 lines
301 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
|