Closed
Description
I thought we have one, but apparently not.
I grepped for errors in the test/
folder (grep -i -r error ./test/
) and what these are the values we have there:
"bad-input"
, "bad-option"
, "unresolved-var"
, "not-formattable"
./test/README.md
mentions "Syntax Error" and "Data Model Error".
So I looked for those values everywhere else (from the root of the repo):
grep -r -i 'bad\S*input' .
grep -r -i 'bad\S*option' .
grep -r -i 'unresolved\S*var' .
grep -r -i 'not\S*formattable' .
The only instances are the ones in the test files.
Should we create error codes (to return in the implementation) from the headings in ./spec/errors.md
?
For example ### Duplicate Declaration
=> duplicate-declaration
, ## Formatting Errors
=> formatting-error
?