mirror of
https://github.com/manifoldbt/manifoldbt.git
synced 2026-08-24 22:48:05 +00:00
Python DSL, examples, docs, benchmarks, and tests. Rust engine distributed as pre-compiled wheel via PyPI.
22 lines
545 B
Python
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."""
|