doc: update errors status (#1436)

This commit is contained in:
Simon Michael 2022-04-24 19:01:37 -10:00
parent a00dc04e0d
commit 1a08baccc4

View File

@ -44,17 +44,17 @@ Here is the current status
| | std format | line | column | excerpt | flycheck | flycheck region | | | std format | line | column | excerpt | flycheck | flycheck region |
|--------------------------|------------|------|------------|---------|----------|-----------------| |--------------------------|------------|------|------------|---------|----------|-----------------|
| accounts | Y | Y | Y | YY | | |
| assertions | | Y | | Y | | |
| balanced | | Y | - | Y | | |
| balancednoautoconversion | | Y | - | Y | | |
| commodities | Y | Y | Y (approx) | YY | | |
| ordereddates | Y | Y | Y | YY | | |
| parseable | Y | Y | Y | YY | | | | parseable | Y | Y | Y | YY | | |
| parseable-dates | Y | Y | Y | YY | | | | parseable-dates | Y | Y | Y | YY | | |
| parseable-regexps | Y | Y | Y | YY | | | | parseable-regexps | Y | Y | Y | YY | | |
| balanced | | Y | - | Y | | |
| balancednoautoconversion | | Y | - | Y | | |
| assertions | | Y | | Y | | |
| accounts | Y | Y | Y | YY | | |
| commodities | Y | Y | Y (approx) | YY | | |
| payees | Y | Y | Y | YY | | | | payees | Y | Y | Y | YY | | |
| ordereddates | | | | Y | | | | uniqueleafnames | Y | Y | Y | YY | | |
| uniqueleafnames | | | | Y | | |
Key: Key:
- std format - the error message follows a standard format (location on first line, megaparsec-like excerpt, description). - std format - the error message follows a standard format (location on first line, megaparsec-like excerpt, description).
@ -100,11 +100,11 @@ Notes (see also [#1436][]):
<!-- to update: erase the below then C-u M-! ./showall --> <!-- to update: erase the below then C-u M-! ./showall -->
<!-- GENERATED: --> <!-- GENERATED: -->
hledger 1.25.99-gc5e159574-20220422 error messages: hledger 1.25.99-gfc3d9d407-20220424 error messages:
### accounts ### accounts
``` ```
hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./accounts.j:4:6: hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./accounts.j:4:6-6:
| 2022-01-01 | 2022-01-01
4 | (a) 1 4 | (a) 1
| ^ | ^
@ -153,7 +153,7 @@ real postings' sum should be 0 but is: 1 A
### commodities ### commodities
``` ```
hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./commodities.j:6: hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./commodities.j:6:21-23:
| 2022-01-01 | 2022-01-01
6 | (a) A 1 6 | (a) A 1
| ^^^ | ^^^
@ -163,15 +163,11 @@ undeclared commodity "A"
### ordereddates ### ordereddates
``` ```
hledger: Error: transaction date is out of order hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./ordereddates.j:10:1-10:
at /Users/simon/src/hledger/hledger/test/errors/./ordereddates.j:10-11: 10 | 2022-01-01 p
| ^^^^^^^^^^
2022-01-02 p | (a) 1
(a) 1 transaction's date is out of order with previous transaction's date 2022-01-02
> 2022-01-01 p
(a) 1
``` ```
@ -208,7 +204,7 @@ expecting date separator or digit
### payees ### payees
``` ```
hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./payees.j:6:12: hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./payees.j:6:12-12:
6 | 2022-01-01 p 6 | 2022-01-01 p
| ^ | ^
| (a) A 1 | (a) A 1
@ -218,11 +214,11 @@ undeclared payee "p"
### uniqueleafnames ### uniqueleafnames
``` ```
hledger: Error: account leaf names are not unique hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./uniqueleafnames.j:9:8-8:
leaf name "c" appears in account names: "a:c", "b:c" | 2022-01-01 p
seen in "a:c" in transaction at: /Users/simon/src/hledger/hledger/test/errors/./uniqueleafnames.j:8-9 9 | (a:c) 1
| ^
> 2022-01-01 p account leaf name "c" is not unique
> (a:c) 1 it is used in account names: "a:c", "b:c"
``` ```