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

25 lines
441 B
C
Raw Normal View History

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