Files
manifoldbt/python/manifoldbt/exceptions.py
T
Jimmy7892 67ab17280b Initial commit: manifoldbt public repo
Python DSL, examples, docs, benchmarks, and tests.
Rust engine distributed as pre-compiled wheel via PyPI.
2026-03-17 16:15:40 +01:00

22 lines
545 B
Python

"""Exception hierarchy for manifoldbt."""
class BacktesterError(Exception):
"""Base exception for all manifoldbt errors."""
class DataError(BacktesterError):
"""Raised when data loading, versioning, or format issues occur."""
class StrategyError(BacktesterError):
"""Raised when strategy compilation or validation fails."""
class ConfigError(BacktesterError):
"""Raised when backtest configuration is invalid."""
class LicenseError(BacktesterError):
"""Raised when a Pro feature is used without a valid license."""