diff --git a/src/corelibs/exceptions/csv_exceptions.py b/src/corelibs/exceptions/csv_exceptions.py new file mode 100644 index 0000000..35bdfff --- /dev/null +++ b/src/corelibs/exceptions/csv_exceptions.py @@ -0,0 +1,23 @@ +""" +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__