mirror of
https://github.com/pim-n/pg-rad
synced 2026-03-11 19:58:11 +01:00
refactor code into modules
This commit is contained in:
8
src/pg_rad/exceptions/exceptions.py
Normal file
8
src/pg_rad/exceptions/exceptions.py
Normal file
@ -0,0 +1,8 @@
|
||||
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."""
|
||||
Reference in New Issue
Block a user