ladybird/Userland/Libraries/LibJS/Runtime/AggregateError.h

25 lines
468 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 AggregateError : public Error {
JS_OBJECT(AggregateError, Error);
public:
static NonnullGCPtr<AggregateError> create(Realm&);
virtual ~AggregateError() override = default;
private:
explicit AggregateError(Object& prototype);
};
}