24 lines
414 B
Python
24 lines
414 B
Python
"""
|
|
Exceptions for csv file reading and processing
|
|
"""
|
|
|
|
|
|
class NoCsvReader(Exception):
|
|
"""
|
|
CSV reader is none
|
|
"""
|
|
|
|
|
|
class CsvHeaderDataMissing(Exception):
|
|
"""
|
|
The csv reader returned None as headers, the header column in the csv file is missing
|
|
"""
|
|
|
|
|
|
class CompulsoryCsvHeaderCheckFailed(Exception):
|
|
"""
|
|
raise if the header is not matching to the excpeted values
|
|
"""
|
|
|
|
# __END__
|