summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h b/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h
index 87d9bea3b3..94d272a653 100644
--- a/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h
+++ b/Userland/Libraries/LibJS/Runtime/AggregateErrorConstructor.h
@@ -18,8 +18,8 @@ public:
virtual void initialize(GlobalObject&) override;
virtual ~AggregateErrorConstructor() override = default;
- virtual Value call() override;
- virtual Value construct(FunctionObject& new_target) override;
+ virtual ThrowCompletionOr<Value> call() override;
+ virtual ThrowCompletionOr<Object*> construct(FunctionObject& new_target) override;
private:
virtual bool has_constructor() const override { return true; }