Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index be236a4a34a95bd4ccd31bfcabfb437d87df2b3f..7adb6b10126b2f28617d324ffacae64d19c65ae9 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -185,6 +185,7 @@ function FormatMessage(message) { |
"define_disallowed", ["Cannot define property:", "%0", ", object is not extensible."], |
"non_extensible_proto", ["%0", " is not extensible"], |
"handler_non_object", ["Proxy.", "%0", " called with non-object as handler"], |
+ "proto_non_object", ["Proxy.", "%0", " called with non-object as prototype"], |
"trap_function_expected", ["Proxy.", "%0", " called with non-function for '", "%1", "' trap"], |
"handler_trap_missing", ["Proxy handler ", "%0", " has no '", "%1", "' trap"], |
"handler_trap_must_be_callable", ["Proxy handler ", "%0", " has non-callable '", "%1", "' trap"], |