Source code for utils.exceptions
"""Project-specific exception types for analysis and runtime failures."""
from __future__ import annotations
[docs]
class NumericalAnalysisError(VibeSpinError, RuntimeError):
"""Base class for mathematically undefined or failed analysis results."""
[docs]
class ZeroVarianceAutocorrelationError(NumericalAnalysisError):
"""Raised when autocorrelation is undefined because the series variance is zero."""