"""Errors surfaced by the surgery recording / result pipeline.""" class SurgeryPipelineError(Exception): """录制未能按约定完成启动或停止。""" def __init__(self, code: str, message: str) -> None: self.code = code self.message = message super().__init__(message)