from logging import error class TipsTypeValueNotExistError(Exception): """日志类型参数不存在异常""" def __init__(self): super().__init__() error("日志类型参数不存在异常") class MsgBoxTypeValueNotExistError(Exception): """MsgBox弹窗类型参数不存在异常""" def __init__(self): super().__init__() error("MsgBox弹窗类型参数不存在异常") class PreprocessModeNotExistError(Exception): """预处理类型不存在异常""" def __init__(self): super().__init__() error("预处理类型不存在异常") class RPeakDetectMethodNotExistError(Exception): """R峰算法定位检测方法不存在异常""" def __init__(self): super().__init__() error("R峰提取检测方法不存在异常") class JPeakDetectMethodsError(Exception): """J峰算法定位检测方法选择异常""" def __init__(self): super().__init__() error("J峰算法定位检测方法选择异常") class LabelCheckModeNotExistError(Exception): """人工纠正类型不存在异常""" def __init__(self): super().__init__() error("人工纠正类型不存在异常") class ArtifactLabelUnknownError(Exception): """体动标注未知异常""" def __init__(self): super().__init__() error("体动打标未知异常") class BCGQualityLabelTableWidgetNotExistError(Exception): """BCG质量标注表格元素不存在异常""" def __init__(self): super().__init__() error("BCG质量标注表格元素不存在异常") class RespQualityLabelOutOfIndexError(Exception): """呼吸可用性及间期标注数组越界异常""" def __init__(self): super().__init__() error("呼吸可用性及间期标注数组越界异常") class RespQualityLabelTableWidgetNotExistError(Exception): """呼吸可用性及间期标注表格元素不存在异常""" def __init__(self): super().__init__() error("呼吸可用性及间期标注表格元素不存在异常")