Exceptions

Custom exceptions for Lingua Loop.

exception lingua_loop.exceptions.SegmentIndicesError(segment_indices: list[int])[source]

Bases: HTTPException

Raised when invalid segment indices are provided.

exception lingua_loop.exceptions.TranscriptNotFoundError(video_id: str)[source]

Bases: Exception

Raised when a transcript is not found for a given video ID.