Restructure backend and frontend modules; add story, library, and editor schema migrations. Support editable automatic production, manual confirmation modes, account and user lifecycle management, compact container scrolling, consistent forms, and per-task result previews. Update inference and TTS scheduling, deployment guidance, and regression coverage; remove obsolete standalone pages and temporary acceptance artifacts.
8 lines
289 B
Python
8 lines
289 B
Python
"""领域任务错误,不依赖 HTTP、数据库或具体模型。"""
|
|
|
|
|
|
class MediaError(RuntimeError):
|
|
def __init__(self, code: str, message: str, retriable: bool = False):
|
|
super().__init__(message)
|
|
self.code, self.message, self.retriable = code, message, retriable
|