Add OutOfBoundsError

This commit is contained in:
Pim Nelissen
2026-02-12 14:02:13 +01:00
parent 9b0c77d254
commit 4f72fe8ff4
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@ __ignore__ = ["logger"]
from pg_rad.exceptions import exceptions
from pg_rad.exceptions.exceptions import (ConvergenceError, DataLoadError,
InvalidCSVError,)
InvalidCSVError, OutOfBoundsError,)
__all__ = ['ConvergenceError', 'DataLoadError', 'InvalidCSVError',
'exceptions']
'OutOfBoundsError', 'exceptions']

View File

@ -8,3 +8,7 @@ class DataLoadError(Exception):
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."""