1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

LibJS: Change wording of ErrorType::NotA to be independent of context

Currently, we have NotA and NotAn, to be used dependent on whether the
following word begins with a vowel or not. To avoid this, change the
wording on NotA to be independent of this context.
This commit is contained in:
Timothy Flynn 2021-09-11 15:00:40 -04:00 committed by Andreas Kling
parent 0398089275
commit 76589d6728
169 changed files with 171 additions and 171 deletions

View file

@ -57,7 +57,7 @@
M(JsonMalformed, "Malformed JSON string") \
M(NegativeExponent, "Exponent must be positive") \
M(NonExtensibleDefine, "Cannot define property {} on non-extensible object") \
M(NotA, "Not a {} object") \
M(NotA, "Not an object of type {}") \
M(NotAConstructor, "{} is not a constructor") \
M(NotAFunction, "{} is not a function") \
M(NotAFunctionNoParam, "Not a function") \