8000 We need a list of possible error codes · Issue #706 · unicode-org/message-format-wg · GitHub
[go: up one dir, main page]

Skip to content
We need a list of possible error codes #706
Closed
@mihnita

Description

@mihnita

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    LDML46LDML46 Release (Tech Preview - October 2024)Preview-FeedbackFeedback gathered during the technical previewerrorsIssues related to the errors section of the spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0