Skip to content

Commit

Permalink
Fix unicode-org#782: give implementations more flexibility in error h…
Browse files Browse the repository at this point in the history
…andling
  • Loading branch information
mihnita committed May 16, 2024
1 parent 4d5e201 commit 4ba26ca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ or _Message Function Errors_ in _expressions_ that are not otherwise used by the
such as _placeholders_ in unselected _patterns_
or _declarations_ that are never referenced during _formatting_.

In all cases, when encountering a runtime error,
a message formatter MUST provide some representation of the message.
An informative error or errors MUST also be separately provided.
In all cases, when encountering an error during formatting,
a message formatter MUST provide some representation of the message,
or MUST provide an informative error or errors.
An implementation MAY provide both.

When a message contains more than one error,
or contains some error which leads to further errors,
Expand Down

0 comments on commit 4ba26ca

Please sign in to comment.