A lagged-load exog source could not be built NaN-free over the window.
Raised when the requested source (target total, per-zone loads, or zone shares) cannot supply a value for every requested timestamp after the leading warm-up backfill, when the forecast-horizon slice contains NaN, or when the source series is stale (its last observation lags data_end by more than max_staleness_hours). multitask.base.build_exogenous_features translates this into either a hard failure or a skipped feature block, governed by ConfigMulti.on_load_lag_failure.
Examples
from spotforecast2_safe.preprocessing.load_lags import LoadLagErrortry:raise LoadLagError("load_lags: source stale.")except LoadLagError as exc:print(type(exc).__name__, str(exc))assertissubclass(LoadLagError, Exception)