From fd8ec1fffa587913e3079a2964c1d4a5076b2158 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sat, 11 Sep 2021 16:41:47 -0400 Subject: [PATCH] LibJS: Add a variant of ErrorType::NotA named NotAnObjectOfType This is a clearer name. Subsequent commits will convert files to use the new name, then the old name will be deleted. --- Userland/Libraries/LibJS/Runtime/ErrorTypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibJS/Runtime/ErrorTypes.h b/Userland/Libraries/LibJS/Runtime/ErrorTypes.h index a6bba61bb8..ba8b74cd3a 100644 --- a/Userland/Libraries/LibJS/Runtime/ErrorTypes.h +++ b/Userland/Libraries/LibJS/Runtime/ErrorTypes.h @@ -63,6 +63,7 @@ M(NotAFunctionNoParam, "Not a function") \ M(NotAn, "Not an {} object") \ M(NotAnObject, "{} is not an object") \ + M(NotAnObjectOfType, "Not an object of type {}") \ M(NotAnObjectOrNull, "{} is neither an object nor null") \ M(NotAnObjectOrString, "{} is neither an object nor a string") \ M(NotAString, "{} is not a string") \