Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa42493

Browse files
eemeliaphillips
andauthored
Use "apporiate" rather than "a" for Message Function Errors
Co-authored-by: Addison Phillips <[email protected]>
1 parent 04d7aa5 commit fa42493

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/formatting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ the following steps are taken:
307307
resolve the value of the _expression_ as the result of that function call.
308308
309309
If the call fails or does not return a valid value,
310-
emit a _Message Function Error_.
310+
emit the appropriate _Message Function Error_ for the failure.
311311
312312
Implementations MAY provide a mechanism for the _function_ to provide
313313
additional detail about internal failures.
@@ -735,7 +735,7 @@ each _text_ and _placeholder_ part of the selected _pattern_ is resolved and for
735735
736736
Resolved values cannot always be formatted by a given implementation.
737737
When such an error occurs during _formatting_,
738-
an implementation SHOULD emit a _Message Function Error_ and produce a
738+
an implementation SHOULD emit an appropriate _Message Function Error_ and produce a
739739
_fallback value_ for the _placeholder_ that produced the error.
740740
A formatting function MAY substitute a value to use instead of a _fallback value_.
741741

0 commit comments

Comments
 (0)