/* * Copyright (c) 2021, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace JS { class AggregateError : public Error { JS_OBJECT(AggregateError, Error); public: static AggregateError* create(GlobalObject&); explicit AggregateError(Object& prototype); virtual ~AggregateError() override = default; }; }