Exceptions#

This module defines the following exception hierarchy:

exception gordo_core.exceptions.ConfigException[source]#

Bases: ValueError

Generic error raised if the config is not valid.

exception gordo_core.exceptions.EmptyDataframeError(data_length: int, threshold: int, *args, **kwargs)[source]#

Bases: InsufficientDataError

Base error raised if the dataframe is empty / below threshold.

exception gordo_core.exceptions.EmptyFilteredDataframeError(data_length: int, threshold: int, *args, **kwargs)[source]#

Bases: EmptyDataframeError

Base error raised if row filtering made the data insufficient.

exception gordo_core.exceptions.EmptyGeneratedDataframeError(data_length: int, threshold: int, tag_names: list[str] | None = None, *args, **kwargs)[source]#

Bases: EmptyDataframeError

Error raised if generated dataframe data is insufficient.

exception gordo_core.exceptions.InsufficientDataError[source]#

Bases: ValueError

Generic error raised if the data is not enough to process.

exception gordo_core.exceptions.KnownPeriodsEmptyDataError(data_length: int, threshold: int, *args, **kwargs)[source]#

Bases: EmptyFilteredDataframeError

Error raised if known periods filter made the data insufficient.

exception gordo_core.exceptions.NuisanceEmptyDataError(data_length: int, threshold: int, *args, **kwargs)[source]#

Bases: EmptyFilteredDataframeError

Error raised if nuisance filter made the data insufficient.

exception gordo_core.exceptions.RowFilterEmptyDataError(data_length: int, threshold: int, row_filter: str | list[str], row_filter_buffer_size: int, *args, **kwargs)[source]#

Bases: EmptyFilteredDataframeError

Error raised if row filtering made the data insufficient.