2022-08-14 22:01:28 +02:00
|
|
|
"""
|
2022-08-25 13:46:19 +02:00
|
|
|
Collection of all plugin specific exceptions. All exceptions are derived from very common base types, such as
|
|
|
|
:class:`FileNotFoundError`, :class:`IOError` or :class:`ValueError` to ease the exception handling.
|
2022-08-14 22:01:28 +02:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
class CsvParamsDataFileNotFound(FileNotFoundError):
|
|
|
|
"""
|
2022-08-25 13:46:19 +02:00
|
|
|
This exception is thrown when a CSV file was not found.
|
2022-08-14 22:01:28 +02:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
class CsvParamsDataFileInaccessible(IOError):
|
|
|
|
"""
|
2022-08-25 13:46:19 +02:00
|
|
|
This exception is thrown when the CSV file is inaccessible.
|
2022-08-14 22:01:28 +02:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
class CsvParamsDataFileInvalid(ValueError):
|
|
|
|
"""
|
2022-08-25 13:46:19 +02:00
|
|
|
This exception is thrown when a CSV file contains invalid data.
|
|
|
|
|
|
|
|
See the exception message for more details.
|
2022-08-14 22:01:28 +02:00
|
|
|
"""
|
2022-08-17 11:26:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
class CsvHeaderNameInvalid(ValueError):
|
|
|
|
"""
|
2022-08-25 13:46:19 +02:00
|
|
|
This exception is thrown when a CSV file contains an invalid header name that could not be replaced.
|
2022-08-17 11:26:23 +02:00
|
|
|
"""
|