add more error hints

This commit is contained in:
MaysWind
2024-09-11 00:47:26 +08:00
parent 5d75629a73
commit 031209490f
6 changed files with 56 additions and 15 deletions
@@ -144,7 +144,7 @@ func createNewezbookkeepingTransactionPlainTextDataTable(content string, columnS
allLines := strings.Split(content, lineSeparator)
if len(allLines) < 2 {
return nil, errs.ErrOperationFailed
return nil, errs.ErrNotFoundTransactionDataInFile
}
headerLine := allLines[0]