Files
pg-rad/src/pg_rad/exceptions/exceptions.py
2026-02-12 14:02:13 +01:00

15 lines
368 B
Python

class ConvergenceError(Exception):
"""Raised when an algorithm fails to converge."""
class DataLoadError(Exception):
"""Base class for data loading errors."""
class InvalidCSVError(DataLoadError):
"""Raised when a file is not a valid CSV."""
class OutOfBoundsError(Exception):
"""Raised when an object is attempted to be placed out of bounds."""