SurfSense/surfsense_backend/app/podcasts/rendering/errors.py

12 lines
341 B
Python
Raw Normal View History

2026-06-10 18:44:03 +02:00
"""Failures raised while rendering a transcript to audio."""
from __future__ import annotations
class RenderError(RuntimeError):
"""Rendering could not produce a final audio file.
Wraps both per-segment synthesis failures and the merge step so the render
task sees one failure type regardless of where it originated.
"""