AnomalyDetectorError Class

Error information returned by the API.

Inheritance
AnomalyDetectorError

Constructor

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

Variables

code
str or AnomalyDetectorErrorCodes

The error code. Possible values include: "InvalidCustomInterval", "BadArgument", "InvalidGranularity", "InvalidPeriod", "InvalidModelArgument", "InvalidSeries", "InvalidJsonFormat", "RequiredGranularity", "RequiredSeries", "InvalidImputeMode", "InvalidImputeFixedValue".

message
str

A message explaining the error reported by the service.