exceptions¶
Custom exceptions for HOLMES.
This module provides a unified exception hierarchy for the HOLMES application, re-exporting Rust exceptions and adding Python-specific exceptions.
HolmesDataError ¶
Bases: Exception
Raised for data loading and parsing errors.
This exception is used when: - CSV files are malformed or have missing columns - Date ranges are invalid or yield empty results - CemaNeige configuration parsing fails
Source code in src/holmes/exceptions.py
HolmesWebSocketError ¶
Bases: Exception
Raised for WebSocket communication errors.
This exception is used when: - WebSocket send operations fail - Connection state is invalid - Message parsing fails
HolmesConfigError ¶
Bases: Exception
Raised for configuration validation errors.
This exception is used when: - Environment variables have invalid values - Port numbers are out of range - Host addresses are invalid