Index: Source/bindings/v8/ExceptionMessages.cpp |
diff --git a/Source/bindings/v8/ExceptionMessages.cpp b/Source/bindings/v8/ExceptionMessages.cpp |
index 905a2fc063e320a2ea5f00aefccedbb26fab5b4c..e1d879fe97f450f8c8da47fa431fbe2bdd4aeb59 100644 |
--- a/Source/bindings/v8/ExceptionMessages.cpp |
+++ b/Source/bindings/v8/ExceptionMessages.cpp |
@@ -58,6 +58,11 @@ String ExceptionMessages::failedToDelete(const String& property, const String& t |
return "Failed to delete the '" + property + "' property from '" + type + "': " + detail; |
} |
+String ExceptionMessages::notASequenceType(const String& argument) |
+{ |
+ return argument + " argument is neither an array, nor does it have indexed properties."; |
+} |
+ |
String ExceptionMessages::notEnoughArguments(unsigned expected, unsigned provided) |
{ |
return String::number(expected) + " argument" + (expected > 1 ? "s" : "") + " required, but only " + String::number(provided) + " present."; |