/*
 * Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibJS/Runtime/Object.h>

namespace JS {

class AggregateErrorPrototype final : public Object {
    JS_OBJECT(AggregateErrorPrototype, Object);
    GC_DECLARE_ALLOCATOR(AggregateErrorPrototype);

public:
    virtual void initialize(Realm&) override;
    virtual ~AggregateErrorPrototype() override = default;

private:
    explicit AggregateErrorPrototype(Realm&);
};

}
