你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AnomalyDetectorError 类

API 返回的错误信息。

继承
AnomalyDetectorError

构造函数

AnomalyDetectorError(*, code: Optional[Union[str, azure.ai.anomalydetector.models._anomaly_detector_client_enums.AnomalyDetectorErrorCodes]] = None, message: Optional[str] = None, **kwargs)

变量

code
strAnomalyDetectorErrorCodes

错误代码。 可能的值包括:“InvalidCustomInterval”、“BadArgument”、“InvalidGranularity”、“InvalidPeriod”、“InvalidModelArgument”、“InvalidSeries”、“InvalidJsonFormat”、“RequiredGranularity”、“RequiredSeries”、“InvalidImputeMode”、“InvalidImputeFixedValue”。

message
str

解释服务报告的错误的消息。