exceptions#

Custom exceptions for OpenSTEF core functionality.

This module defines specific exception types used throughout the OpenSTEF core package to provide clear error reporting and handling for common failure cases.

Classes#

ConfigurationError(message)

Exception raised for errors in configuration settings.

FlatlinerDetectedError(message)

Exception raised when a flatliner is detected in the data.

InsufficientlyCompleteError(message)

Exception raised when a dataset is not sufficiently complete.

InvalidColumnTypeError(column, ...)

Exception raised when a DataFrame column has an invalid type.

MissingColumnsError(missing_columns[, columns])

Exception raised when required columns are missing from a DataFrame.

MissingExtraError(extra[, package, ...])

Exception raised when an optional dependency for a feature is not installed.

ModelLoadingError

Exception raised when a model fails to load properly.

ModelNotFoundError(model_id)

Exception raised when a model is not found in storage.

NotFittedError(component_class)

Exception raised when a model or a transform is used before being fitted.

OpenSTEFVersionCompatibilityError(run_id, ...)

Exception raised when an MLflow model was created with an incompatible OpenSTEF version.

PredictError

Exception raised for errors during forecasting operations.

TimeSeriesValidationError(message)

Exception raised for validation errors in time series datasets.

UnreachableStateError(message)

Exception raised when a code path that should be unreachable is executed.