From 1139aa45b604fd999aec0dc71fcc96f6dd29f4d0 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sat, 11 Sep 2021 16:44:28 -0400 Subject: [PATCH] WebContent: Use ErrorType::NotAnObjectOfType instead of NotA --- Userland/Services/WebContent/ConsoleGlobalObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.cpp b/Userland/Services/WebContent/ConsoleGlobalObject.cpp index f1c0af4a349..2452185168c 100644 --- a/Userland/Services/WebContent/ConsoleGlobalObject.cpp +++ b/Userland/Services/WebContent/ConsoleGlobalObject.cpp @@ -104,7 +104,7 @@ JS_DEFINE_NATIVE_GETTER(ConsoleGlobalObject::inspected_node_getter) return JS::js_null(); if (!is(this_object)) { - vm.throw_exception(global_object, JS::ErrorType::NotA, "ConsoleGlobalObject"); + vm.throw_exception(global_object, JS::ErrorType::NotAnObjectOfType, "ConsoleGlobalObject"); return {}; }