mirror of
https://github.com/pim-n/pg-rad
synced 2026-03-10 19:48:12 +01:00
Add OutOfBoundsError
This commit is contained in:
@ -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']
|
||||
|
||||
@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user