Previously all parseCSV errors were mapped to ErrNotACSVFile, hiding the actual cause. Now ErrFileIsEmpty is propagated correctly instead of being misreported as an invalid CSV file. |
||
|---|---|---|
| .. | ||
| csv.go | ||
| csv_test.go | ||
| handler.go | ||
Previously all parseCSV errors were mapped to ErrNotACSVFile, hiding the actual cause. Now ErrFileIsEmpty is propagated correctly instead of being misreported as an invalid CSV file. |
||
|---|---|---|
| .. | ||
| csv.go | ||
| csv_test.go | ||
| handler.go | ||