ladybird/Libraries/LibJS/Runtime/AggregateError.h
2025-06-30 10:50:36 -06:00

26 lines
512 B
C++

/*
* Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibJS/Runtime/Error.h>
#include <LibJS/Runtime/Object.h>
namespace JS {
class JS_API AggregateError : public Error {
JS_OBJECT(AggregateError, Error);
GC_DECLARE_ALLOCATOR(AggregateError);
public:
static GC::Ref<AggregateError> create(Realm&);
virtual ~AggregateError() override = default;
private:
explicit AggregateError(Object& prototype);
};
}