Skip to content

Commit 04d7aa5

Browse files
committed
Drop "Bad Expression", add SHOULD for letting functions pick their error
1 parent a469602 commit 04d7aa5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

spec/errors.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,9 @@ A **_<dfn>Message Function Error</dfn>_** is any error that occurs
259259
when calling a message function implementation
260260
or which depend on validation associated with a specific function.
261261
262-
### Bad Expression
263-
264-
A **_<dfn>Bad Expression</dfn>_** error occurs when a _message_ includes an _expression_
265-
whose implementation-defined internal requirements produce an error during _function resolution_
266-
or when a _function_ returns a value (such as `null`) that the implementation does not support.
262+
Implementations SHOULD provide a way for custom functions to specify
263+
which of the following errors ought to be emitted,
264+
as well as allowing for other implementation-defined _Message Function Errors_.
267265
268266
### Bad Operand
269267

0 commit comments

Comments
 (0)