Index: Source/bindings/v8/ExceptionMessages.cpp |
diff --git a/Source/bindings/v8/ExceptionMessages.cpp b/Source/bindings/v8/ExceptionMessages.cpp |
index 613fa571b68ca394f17877c4bbc436168e2bbd4a..beea8bef6d33fa062d93541b8445756a5a542c16 100644 |
--- a/Source/bindings/v8/ExceptionMessages.cpp |
+++ b/Source/bindings/v8/ExceptionMessages.cpp |
@@ -65,6 +65,11 @@ String ExceptionMessages::incorrectPropertyType(const String& property, const St |
return "The '" + property + "' property " + detail; |
} |
+String ExceptionMessages::incorrectArgumentType(int argumentIndex, const String& detail) |
+{ |
+ return "The " + ordinalNumber(argumentIndex) + " argument " + detail; |
+} |
+ |
String ExceptionMessages::notAnArrayTypeArgumentOrValue(int argumentIndex) |
{ |
String kind; |